home *** CD-ROM | disk | FTP | other *** search
/ Best of Shareware / Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso / mac / DOS / CAD_CAM / LASI42 / LHI.HLP < prev    next >
Text File  |  1993-09-20  |  195KB  |  4,637 lines

  1. ≡≡
  2. Basic Information
  3.  
  4.  
  5.  Introduction
  6.  
  7.                 LASI (LAyout System for Individuals(ists))
  8.  
  9.                            (Pronounced "LAZY")
  10.  
  11.                                Version 4.2
  12.  
  13.  
  14.   The LASI CAD System was originally written several years ago for the
  15.   author's own professional use to do IC and semiconductor device layout on
  16.   a personal computer. Since then it has been continuously improved, taking
  17.   advantage if new hardware and software. It has also been used for
  18.   hybrids, printed circuit boards, schematic diagrams and other precision
  19.   drawing applications. LASI has become particularly valuable to students,
  20.   schools, universities, or anyone who doesn't have the funding for more
  21.   elaborate drawing systems.
  22.  
  23.   LASI version 4.2 has all the features of previous versions of LASI, but
  24.   has been enhanced with a smart little memory manager that permits simpler
  25.   drawing setup and more efficient use of memory to hold a drawing's data.
  26.  
  27.   LASI is intended to be friendly and intuitively obvious, which makes it
  28.   easy to learn and operate by occasional users. Once the basics are
  29.   understood, the commands usually require little additional explanation.
  30.   Most commands operate on the drawing globally, so that there are no
  31.   special editing procedures for different parts of a drawing. There are no
  32.   hierarchical command structures with pull down menus. All commands are
  33.   essentially random access through menus at the side of the display and
  34.   may be easily aborted. Information is usually entered by mouse or
  35.   keyboard. When a command is executed, the program is designed so that the
  36.   results are displayed as soon as possible, to give good operator
  37.   interaction.
  38.  
  39.   Drawings made using LASI can be translated into other drawing systems by
  40.   utility programs. Presently, translation to and from CALMA Stream Format
  41.   and to Hewlett-Packard Graphics Language (HP-GL) is available. LASI also
  42.   has a drawing language of its own called TLC. Written in plain ASCII
  43.   text, TLC can be used to interchange drawings or to write auxiliary
  44.   programs that operate on LASI drawings.
  45.  
  46.   LASI is intended to be propagated by software alone. There is therefore
  47.   no printed manual. This LASI Help and Information program LHI.EXE
  48.   displays all the documentation, and individual topics can be printed if
  49.   desired. If a printed manual is needed, a program MANUAL.EXE is supplied
  50.   that builds a manual complete with index from any LASI help file (files
  51.   with .HLP extension).
  52.  
  53.  
  54.   You should read the remaining Basic Information topics. After that, you
  55.   can work your way through the General Information topics.
  56.  
  57.   If you are in a hurry to run LASI, it is recommended that you read the
  58.   Hardware General Information topic to see if your PC is capable of
  59.   running LASI adequately, and then go to the Quick Start topic.
  60.  
  61.   If you are new to LASI you should use the demonstration IC layout as a
  62.   tutorial, if it has been included on the distribution disk, or is
  63.   available on the network where you downloaded LASI. By working with a
  64.   simple layout, you will get a good idea of how LASI works.
  65.  
  66.   If you have been using LASI version 3.X or 4.0, you MUST read the
  67.   Converting Versions topic. You should also read the System Log, to see
  68.   what changes have been made since the last release.
  69.  
  70.  Installing LASI
  71.  
  72.   The following information outlines the installation procedures for
  73.   installing LASI on any PC. If you are reading this, you probably have
  74.   done the basic installation already. The information is given here so
  75.   that you can verify that installation has been done correctly.
  76.  
  77.   The system files are distributed in compressed form. The distribution
  78.   will be either a High-Density 5.25" or 3.5" floppy disk version
  79.   consisting of a self-extracting executable file named LASI42.EXE, or a
  80.   network version consisting of files compressed into three ZIP files
  81.   LASI42?A.ZIP, LASI42?B.ZIP and LASI42?C.ZIP, where "?" represents the
  82.   revision number digit (1-9).
  83.  
  84.   If distributed on floppy disk, an installation program INSTALL.EXE should
  85.   have been included. If distributed on a network, a README.TXT file,
  86.   containing installation instructions should have been included within
  87.   each ZIP file.
  88.  
  89.   The system files are listed in the System Contents help topic. If for
  90.   some reason you obtain LASI as individual files, you should check to see
  91.   if you have a complete set of files. All files should have the SAME DATE
  92.   to insure compatibility.
  93.  
  94.   LASI will be ready to run with just the basic installation. When you are
  95.   more familiar with LASI's workings you can do the advanced installation.
  96.  
  97.  
  98.   Installation procedure for networked ZIP compressed files:
  99.  
  100.   1. Make a subdirectory named "\LASI4" on your hard disk under the root
  101.      directory.
  102.  
  103.   2. Using PKUNZIP or similar program, uncompress and copy the ZIP files
  104.      LASI42?A.ZIP, LASI42?B.ZIP and LASI42?C.ZIP into the \LASI4
  105.      subdirectory.
  106.  
  107.   3. Add the path "disk:\LASI4" to DOS using the "PATH" DOS Command, where
  108.      "disk" is the hard disk's letter name.
  109.  
  110.  
  111.   Installation procedure for self-extracting floppy disk version:
  112.  
  113.   1. Run the installation program INSTALL.EXE
  114.  
  115.     This will create a subdirectory named "\LASI4" on your hard disk, if it
  116.     has not yet been created, and will extract and copy the system files to
  117.     that subdirectory.
  118.  
  119.   2. If there is a demonstration present on the distribution disk, you can
  120.      install it by running the associated installation program that should
  121.      have been included. If you are new to LASI you should install the
  122.      demonstration, otherwise you can skip it.
  123.  
  124.   3. Add the path "disk:\LASI4" to DOS using the "PATH" DOS Command, where
  125.      "disk" is the hard disk's letter name.
  126.  
  127.   Hint:  It is usually easiest to put the \LASI4 path in your AUTOEXEC.BAT
  128.     file.
  129.  
  130.  Quick Start
  131.  
  132.   If you are eager to try out LASI here is what to do:
  133.  
  134.   1. Install a mouse and its driver software if you havn't already.
  135.  
  136.     You must have an active mouse to operate LASI.
  137.  
  138.   2. Create a "drawing directory" on the hard disk where you installed the
  139.      system files and make that directory your default directory.
  140.  
  141.     DO NOT make drawings in the \LASI4 directory.
  142.  
  143.   3. Copy the FORM.DBD file from the \LASI4 directory to the drawing
  144.      directory.
  145.  
  146.     The FORM.DBD distributed with the system files is a "generic" version
  147.     and should work with most hardware.
  148.  
  149.   4. Run LASI by simply typing "lasi".
  150.  
  151.     The main drawing program should come up in "System Mode". You can get
  152.     help on any command by putting the mouse cursor on a command button and
  153.     then pressing F1.
  154.  
  155.   You are now free to experiment on your own!
  156.  
  157.  Converting Versions
  158.  
  159.  
  160.   Version 3.X to Version 4.0
  161.  
  162.   If you have not been using LASI version 3, or do not have drawings made
  163.   using it, you can skip these next instructions.
  164.  
  165.   LASI version 4 has many new features over version 3. You should read the
  166.   System Log topic for a listing of the major changes.
  167.  
  168.   1. Version 4 of LASI now keeps its files in the directory "\LASI4". It is
  169.      important that the MS-DOS PATH be changed to include "\LASI4" and not
  170.      "\LASI" as was previously used, since many of the new files have the
  171.      same name as the old.
  172.  
  173.   2. As a protection, the file name extensions have been changed so that
  174.      internal files are invisible to the wrong version. You need to convert
  175.      your internal files (.BPV and .CEL) to version 4 files (.BP4 and
  176.      .CL4). To do this quickly, the program 3TO4.COM has been supplied. To
  177.      convert your files simply run 3TO4.COM while logged into a drawing
  178.      directory. 3TO4.COM will act only on the files in that directory and
  179.      will create new files and leave the old files unchanged.
  180.  
  181.   3. Converting back to version 3 can be done by using the TLC converter
  182.      programs. However, any text made using LASI version 4 will be ignored.
  183.      The NEW TLCIN.EXE must be used to make the TLC files, and the OLD
  184.      TLC.EXE must be used to convert any TLC files to version 3 internal
  185.      files.
  186.  
  187.   4. The file CONSTS.DBD used in version 3 has been replaced by the file
  188.      CONSTS4.DBD. The new file contains more information in a different
  189.      order than the old CONSTS.DBD file. You may leave the old file in your
  190.      drawing directory so that you can use version 3 again for some reason.
  191.  
  192.   5. The CELLS.DBD file has been replaced by the CELLS4.DBD file This is
  193.      really the same file, but the name has been changed to prevent the
  194.      wrong  version of LASI from writing to it.
  195.  
  196.   6. FORM.DBD in version 4 contains new parameters. LASI is however smart
  197.      enough to read for parameter titles so that version 3 can read through
  198.      a version 4 FORM.DBD file and pick out only what it needs.
  199.  
  200.  
  201.   Version 4.0 to Version 4.1
  202.  
  203.   If you have not been using LASI version 3 or 4.0, or do not have drawings
  204.   made using either, you can skip these instructions.
  205.  
  206.   1. Version 4.1 of LASI allows basic cells to be taken from a common pool
  207.      located on the same PC or from a Local Area Network. You may run LASI
  208.      4.1 on any drawing done using LASI 4.0. However, the reverse is true
  209.      only if you have no pooled cells. If there are pooled cells the
  210.      results will be unpredictable, but generally not fatal. Read the
  211.      General topics: Pooling, Pooling Old Cells, Attached Cells and the
  212.      Command topic ATTACH.
  213.  
  214.   2. Version 4.1 also has 64 layers available instead of the previous 32.
  215.      The  only change necessary is to modify the CONSTS4.DBD file. A
  216.      converter program 40TO41.COM has been furnished to easily create the
  217.      new file.
  218.  
  219.   3. The utility programs have been modified to work with 64 layers. They
  220.      will work on old 4.0 drawings, but 4.0 utilities will only work on the
  221.      first 32 layers of version 4.1 drawings.
  222.  
  223.  
  224.   Version 4.1 to Version 4.2
  225.  
  226.   Version 4.2 modifies the CONSTS4.DBD file slightly to include separate
  227.   text and path information.
  228.  
  229.   If you run LASI it will create a new file automatically with default
  230.   parameters. You may also run the 41TO42.COM program in a drawing
  231.   directory. This program rewrites the CONSTS4.DBD file to add the new
  232.   parameters. If you happen to have an intermediate versions of 4.1 from
  233.   somewhere, you should erase the CONSTS4.DBD file and allow LASI 4.2 to
  234.   create a new one.
  235.  
  236.   LASI 4.2 no longer reads the FORM.DBD file in a drawing for the "box=",
  237.   "path=", "vtx=", "cell=" and "rank=" parameters. These can be erased from
  238.   the FORM.DBD file... unless you think you might go back to previous
  239.   versions of LASI. Leaving these parameters in FORM.DBD is harmless. All
  240.   the utility programs that come with LASI also no longer use these
  241.   parameters, and, in time, their need will completely disappear.
  242.  
  243.  
  244.   Missing CL4 Files
  245.  
  246.   Some drawings made with version 4.0 may not have CL4 files for cells with
  247.   rank greater than 1 but containing no lesser cells. Version 4.2 requires
  248.   that all cells with rank greater than 1 have CL4 files even though the
  249.   cells have no lesser cells. Version 4.2 will not load a cell if the CL4
  250.   file is missing.
  251.  
  252.   To remedy this situation, you need to provide a blank CL4 file. this can
  253.   be done in several ways. You can create a dummy cell with rank >1 but no
  254.   lesser cells. This will produce a CL4 file with only a single blank
  255.   record. You can then copy the blank CL4 file under DOS as "CELLNAME.CL4",
  256.   where "CELLNAME" is the name of the cell that needs a CL4 file.
  257.  
  258.   As an alternative, you can use the TLC-OUT and then the TLC-IN commands
  259.   from LASI System Mode while in a drawing, or you can run TLCOUT.EXE and
  260.   TLCIN.EXE from DOS. The TLCOUT.EXE program will read a cell without a CL4
  261.   file and TLCIN.EXE will rewrite the cell with a CL4 file.
  262.  
  263.  Terms of Distribution
  264.  
  265.   The LASI System can be copied and distributed by anyone. For floppy
  266.   distribution, the self-extracting executable LASI42.EXE, the installation
  267.   program INSTALL.EXE and any optional files should be copied directly from
  268.   the distribution disk.
  269.  
  270.   For the network distribution, the three files LASI42?A.ZIP, LASI42?B.ZIP
  271.   and LASI42?C.ZIP should be uploaded. Any optional files may be included
  272.   on the network separately. DO NOT put optional files into any of the
  273.   three LASI42 ZIP files.
  274.  
  275.   If LASI is to be placed on a bulletin board or network, THE AUTHOR SHOULD
  276.   BE INFORMED OF ITS LOCATION. LASI has been found all over the country,
  277.   mostly in duplicates or old versions.
  278.  
  279.   Files should NOT be distributed individually, since all the files are
  280.   intended to work with each other in the same distribution. Files should
  281.   all have the SAME DATE.
  282.  
  283.   LASI42.EXE or the three ZIP files will fit on a single 5.25" or 3.5"
  284.   High-Density floppy disk. Breaking the file set into individual files is
  285.   strongly discouraged because of the possibility of losing files or mixing
  286.   file dates.
  287.  
  288.   The three ZIP files MAY BE distributed on floppy disk, either on a single
  289.   High-Density disk or on more than one Double-Density disk. Distributing
  290.   in ZIP form assumes that the recipient has the means to decompress.
  291.  
  292.   A person distributing LASI is allowed to charge a fee that will cover
  293.   their distribution costs (labor, floppy, packing, postage, etc.). Any
  294.   fees are ultimately left to the spirit of LASI as being free for personal
  295.   and educational use.
  296.  
  297.   Updates
  298.  
  299.   An attempt will be made to keep known users updated with the latest
  300.   version by informing them that a new version is available, where (on a
  301.   network) it is available, or by just sending out new floppy disks.
  302.  
  303.   If dangerous bugs are discovered an attempt will be made to notify or
  304.   send corrected programs to known users.
  305.  
  306.   The author maintains a database of know users, but unknown secondary
  307.   users should be kept updated by those who gave them the software.
  308.  
  309.   Updating secondary users is a responsibility that should be taken
  310.   seriously. People have been found using ancient versions of the programs,
  311.   which have since been debugged, greatly improved, or completely revised.
  312.  
  313.   To prevent continuously notifying or sending updates to anyone who really
  314.   isn't using LASI, There is a CUTOFF PERIOD OF ONE YEAR, after which
  315.   updates will have to be requested.
  316.  
  317.   As a general rule, to be sure that you have the most current software
  318.   contact the author directly.
  319.  
  320.  
  321.   Licensing
  322.  
  323.  
  324.   The LASI System has been written over a period of several years, mostly
  325.   for the author's own professional use, and therefore was not intended as
  326.   profit-making software.
  327.  
  328.   For this reason, LASI is NOT SHAREWARE in the usual sense; that is,
  329.   everybody is expected to pay if they use the software. LASI is free for
  330.   educational use in order to foster IC design as a heuristic exercise and
  331.   a true art. It is also free for non-profit applications by individuals.
  332.  
  333.   However, if LASI is used to MAKE A PROFIT, then a VOLUNTARY license fee
  334.   of $99 PER COMPUTER on which it is installed is requested. This license
  335.   is for a period of ONE YEAR and should be made payable to the author.
  336.  
  337.   When LASI is licensed, FREE UPDATES including any NEW PROGRAMS will be
  338.   provided during the license period, and will continue to be provided if
  339.   the license is renewed.
  340.  
  341.   This fee is not just to ease the conscience of someone making a profit
  342.   and using LASI for free, but helps to pay for improving LASI with new
  343.   hardware and software and sending out updates to everyone. The fee is not
  344.   expected to be a compensation for the endless hours of coding and
  345.   debugging that have gone into producing LASI.
  346.  
  347.  Terms of Liability
  348.  
  349.   The LASI System is constantly being revised and is distributed on an
  350.   "as is" basis. Since the programs are quite complicated, software bugs
  351.   may be found, often when someone does something that only rarely would be
  352.   done. IF YOU THINK YOU HAVE FOUND A REAL BUG, REPORT IT TO THE AUTHOR.
  353.   The bug will be fixed, and you will receive a corrected version.
  354.  
  355.   Neither the author nor any person distributing the LASI System assumes
  356.   any responsibility for whomever uses the programs or for how the programs
  357.   are used. Also, neither the author nor any person distributing the
  358.   software assumes any liability for any losses monetary or otherwise
  359.   incurred related to the use of the programs.
  360.  
  361.  Final Comment
  362.  
  363.   With the proper software, personal computers have easily become adequate
  364.   for small to medium sized IC layout applications. LASI can give everyone
  365.   a personal computer based work station. This is particularly true for
  366.   students learning IC technology. In fact, it is the intention of the
  367.   author to eventually develop LASI as a complete educational software
  368.   system for use in IC design courses.
  369.  
  370.   Although it may be used that purpose, LASI was not really intended for
  371.   doing routine IC or ASIC design. Instead, LASI was developed as a
  372.   "fundamental" drawing system, which can generate arbitrary shapes that
  373.   might be needed in any kind of application, new or old. It was also
  374.   intended for people who think in a particular spatial way, as anyone
  375.   working with it will soon realize.
  376.  
  377.   Actually, LASI was really intended to put some fun and relaxation into
  378.   doing layout tasks by allowing a person to work when and where they want,
  379.   and therefore, it is believed, do better more creative work.
  380.  
  381.   Anyone using LASI for fun or profit is encouraged to contact me with any
  382.   suggestions or requests for additional utility or conversion programs.
  383.  
  384.  
  385.                                         Dave Boyce
  386.  
  387.                                         Author of LASI:
  388.                                         Dr. David E. Boyce
  389.                                         143B Bergdorf Rd., RR1
  390.                                         Parish, NY 13131, USA
  391.                                         315-625-7291
  392.  
  393. General Information
  394.  
  395.  About LASI Programs
  396.  
  397.   Although the LASI uses mostly integer math, it does use some floating-
  398.   point math during the drawing process. For this reason, the main drawing
  399.   program is compiled in two different versions:
  400.  
  401.   1. For use with a coprocessor, it is compiled with inline coprocessor
  402.      instructions, making LASI87.EXE.
  403.  
  404.   2. For use without a coprocessor, it is compiled with alternate floating-
  405.      point math function calls, making LASIA.EXE.
  406.  
  407.   These main drawing programs are written in C and assembly language. The
  408.   source code consists of 4 separate modules containing, briefly:
  409.  
  410.     1. The main(), System Mode command and utility functions (C)
  411.     2. The Cell Mode command functions (C)
  412.     3. The drawing, file and hardware functions (C)
  413.     4. The elementary graphical functions (Assembly)
  414.  
  415.   For maximum speed, the elementary graphical functions are written in
  416.   assembly language. The C modules are complied using Microsoft C/C++ 7.0
  417.   in the Large Model, and the assembly is compiled using Microsoft Macro
  418.   Assembler 6.1. The four object codes are linked together to build the
  419.   main drawing programs.
  420.  
  421.   To start LASI you actually run the small C program LASI.EXE. This program
  422.   determines if there is a coprocessor present, and then writes over itself
  423.   with LASI87.EXE or LASIA.EXE.
  424.  
  425.  
  426.   Some of the utility programs, such as TLCIN.EXE or TLCOUT.EXE are also
  427.   written using C/C++ 7.0, while some of the simpler utility programs are
  428.   written in Microsoft BASIC 7.1. All utility programs are compiled using
  429.   alternate floating-point math function calls, so they will all run the
  430.   same with or without a coprocessor.
  431.  
  432.  Advanced Installation
  433.  
  434.   Once you have mastered getting LASI up and running and probably know what
  435.   you are doing, you can "customize" LASI to your particular hardware or
  436.   drawing style. To do this you can set certain parameters in the FORM.DBD
  437.   file as follows:
  438.  
  439.   1. If you have an appropriate line printer or plotter, set the FORM.DBD
  440.      file's "hcopy=" and "plot=" parameters to allow hard copies and plots
  441.      to be made. Use EDLIN.COM or MS-DOS 5's EDIT to change the FORM.DBD
  442.      file, to prevent any word processor formatting characters from being
  443.      inserted into the FORM.DBD file. Read the FORM File topic and the HCPY
  444.      Command topic.
  445.  
  446.   2. If you have extended memory, install a RAM disk by putting the driver
  447.      into your CONFIG.SYS file. Turn on the RAM disk provision by setting
  448.      the "rdisk=" parameter in the FORM.DBD file to the letter of the RAM
  449.      disk. Read the Using RAM Disk topic.
  450.  
  451.   3. Once you have been using LASI for some time you will have some
  452.      favorite commands that you use often. You can write these into the
  453.      FORM.DBD file under the "fkey=" parameter, and further customize LASI
  454.      to your own way of working. Read the Key Assignment topic.
  455.  
  456.  Attached Cells
  457.  
  458.   A cell that is kept in a common cell pool that is shared among several
  459.   drawings is called an ATTACHED cell. The attached cell will be draw
  460.   normally, but will follow certain rules and will have some special
  461.   properties:
  462.  
  463.   ■ Attached cells are protected and may NOT be changed using Cell Mode.
  464.  
  465.   ■ Attached cells must have the same physical scaling as the drawing.
  466.  
  467.   ■ Attached cells must fit within the memory available for allocation by
  468.     the memory manager for boxes, paths and vertices.
  469.  
  470.   ■ Attached cells may NOT be renamed with the RENAM command.
  471.  
  472.   ■ Attached cells are searched for in the pool directory only, while
  473.     normal cells are searched for in the drawing directory only. If a cell
  474.     file (BP4) is not found, a "null" cell is drawn. LASI draws a null cell
  475.     as a dotted outline. A null cell is different from a cell that has
  476.     nothing in it in that there is no BP4 file for a null cell.
  477.  
  478.   ■ Attached cells may be added to the drawing directory in two ways:
  479.  
  480.   1. You can use the System Mode IMPORT command and give the imported cell
  481.      the SAME NAME. This copies the cell's BP4 file to the drawing
  482.      directory and turns the attached cell into a normal cell.
  483.  
  484.   2. You can use the IMPORT command and give the copied cell a NEW NAME.
  485.      This is preferred if you are going to modify the cell and use it in a
  486.      few places.
  487.  
  488.  
  489.   ■ Attached cells may be smashed using the SMSH command. This effectively
  490.     adds an attached cell's boxes and paths to the current cell.
  491.  
  492.   ■ Attached cells may be used in the MAKE command. They will be added to
  493.     the new cell as would any other cell, but they will still be attached
  494.     cells.
  495.  
  496.   ■ The commands OUTL, FULL, INFO and SHOW work on attached cells.
  497.  
  498.   ■ If you are using a RAM disk, the first time you draw a attached cell it
  499.     will be copied to the RAM disk. It will still remain protected but will
  500.     draw faster.
  501.  
  502.   ■ Attached cell names appear in red in the LIST command cell listing.
  503.  
  504.  
  505.   Cells with rank greater than 1 may be attached, but only the boxes, poly
  506.   and paths will be drawn and the cell will be forced to rank 1. The reason
  507.   for this is that LASI presently uses pointers to cells in its cell
  508.   placement data. These pointers would be different for different drawings.
  509.   The TLC program must be used to install any cells containing other cells.
  510.   More often, cells containing other cells are usually drawing specific and
  511.   would not be shared with other drawings anyway.
  512.  
  513.  Archiving
  514.  
  515.   It is highly recommended that you keep current backups or archives of
  516.   your drawings. You should use the TLC external data format. The TLC
  517.   format is written in ASCII text, and is very forgiving. It may in fact be
  518.   written or repaired using a text editor.
  519.  
  520.   To dump a complete drawing you only need to run TLCOUT.EXE in a drawing
  521.   directory, or alternately, to dump only a certain cell, give it the name
  522.   of the that cell and TLCOUT.EXE will make all the required cells. Backup
  523.   TLC files may be written directly to a floppy disk if they will all fit,
  524.   or they can be written to a hard disk and then to one or more floppy
  525.   disks.
  526.  
  527.   Once TLC files are made, a complete drawing or individual cells can be
  528.   reconstructed if necessary.
  529.  
  530.   It might be said that TLC is the true way of storing LASI drawings. The
  531.   internal data files (BP4 and CL4 files) are really a convenience to
  532.   reduce the startup time for LASI.
  533.  
  534.   Read the TLC Conversion topic.
  535.  
  536.  Backups
  537.  
  538.   LASI contains an amount of protection against drawing loss. It will write
  539.   your latest drawing files to your hard disk at certain times so that if
  540.   the computer is turned off or fails, or you simply make a mistake or
  541.   change your mind, your drawing will survive.
  542.  
  543.   Whenever you exit Cell Mode all files are updated on the hard disk. This
  544.   includes the BP4 and CL4 files for the particular cell and the CELLS4.DBD
  545.   and CONSTS4.DBD files. This happens even if you are using a RAM disk for
  546.   temporary file storage.
  547.  
  548.   There are two files CELLBKUP.BP4, CELLBKUP.CL4 that store your cell as it
  549.   was when you enter Cell Mode. These may be used to return a cell to the
  550.   same state that it was when you entered Cell Mode.
  551.  
  552.   Also, there are two files SORTBKUP.BP4 and SORTBKUP.CL4 that are updated
  553.   when you use the SORT command. You may use these files to restore if you
  554.   make a major mistake. These files are also updated by a timed automatic
  555.   sort that protects your drawing even if you leave it unattended for a
  556.   while and someone comes by and turns off the computer.
  557.  
  558.   Finally, there are two files DSBKUP.BP4 and DSBKUP.CL4 that are updated
  559.   whenever you use the DEL or the SMSH command. You may recover from an
  560.   accidental delete or smash using these files.
  561.  
  562.  Command Menus
  563.  
  564.   Most operations are done by selecting a command from a menu on the side
  565.   of the screen. The mouse cursor will turn into a box around the command
  566.   that will be chosen. Clicking the right mouse button activates the
  567.   command.
  568.  
  569.   In Cell Mode there are two different menus. To flip between them, simply
  570.   click the right mouse button with the cursor in the drawing window, not
  571.   in the menu area.
  572.  
  573.   In Cell Mode the current resident command is shown at the top center of
  574.   the screen.
  575.  
  576.   The colors usually mean something. Generally the cyan commands affect
  577.   boxes and paths, the yellow affect cells, and the green both, with many
  578.   exceptions. Commands intended to stand out are generally red. Some
  579.   commands are colored just to look pretty or give good contrast.
  580.  
  581.  Command Types
  582.  
  583.   The commands that are found on the menus do many things. The commands all
  584.   have help topics in Command Information.
  585.  
  586.   The System Mode commands either operate immediately or request additional
  587.   information to be typed in. The commands may be aborted or continued to
  588.   completion.
  589.  
  590.   Cell Mode commands may be grouped into four types:
  591.  
  592.   1. RESIDENT commands are commands that stay in place until you change to
  593.      another resident command. There is always a default resident command
  594.      when working on a drawing.
  595.  
  596.     Examples of resident commands are:  ADD, GET, PUT, CGET and CPY.
  597.  
  598.   2. ONE-TIME commands are commands that abort any other commands that may
  599.      be in progress, but are not retained.
  600.  
  601.     Examples of ONE-TIME commands are:  SORT, FILL, LAYR, and OBJ.
  602.  
  603.   3. WINDOW commands are commands that change the window that is displayed.
  604.      These commands are nestable within a resident command. For example,
  605.      you can reposition the window an unlimited number of times while you
  606.      still have the second point of a MOV pending. The command listed at
  607.      the top of the display changes color to tell you that you are in a
  608.      nested command that is asking for an input.
  609.  
  610.     The window commands are:  ARROWS, CNTR, DGRD, DRAW, FIT, GRID, OCTO,
  611.     OPEN, RDRW, VIEW, WGRD, RSTR, SAVE, XPND and ZOOM.
  612.  
  613.   4. DOS commands are commands that run other programs with LASI as the
  614.      shell. These commands can cause "out of memory" or "not available"
  615.      errors if you don't have enough RAM available.
  616.  
  617.     The DOS commands are:  DOS, HCPY, PLOT, TLC-IN, TLC-OUT and help F1.
  618.  
  619.   In System Mode, information is requested at the left of the screen. In
  620.   Cell Mode information is usually requested on the last line. Any default
  621.   values, shown in parentheses, will be retained by pressing ENTER or ESC.
  622.   Usually, ENTER continues the command and ESC aborts the command.
  623.  
  624.   Important:  Any command that is expecting a cursor input point can be
  625.     cancelled by selecting the same command, a new command or by pressing
  626.     ESC. Window commands can be cancelled within a resident command without
  627.     cancelling the resident command.
  628.  
  629.  Common Problems
  630.  
  631.   When LASI is started it checks for the FORM.DBD file, the CONSTS4.DBD
  632.   file, the CELLS4.DBD file and the Text Font File (usually TXT.DBD). It
  633.   also checks the hardware for the mouse and the kind of video adapter you
  634.   have. If there is a problem LASI should tell you. This may not be perfect
  635.   and if you crash first suspect the CONSTS4.DBD file. It may be incorrect.
  636.   Simply erase it from your drawing directory. LASI will make a new one.
  637.   CONSTS4.DBD files made with older versions of LASI are not guaranteed to
  638.   work with newer versions of LASI.
  639.  
  640.   If you crash or you get a "Not Available" message, when running programs
  641.   such as TLCIN.EXE, TLCOUT.EXE  or LASI2PGL.EXE with the LASI drawing
  642.   program as the shell, you probably have run out of conventional memory.
  643.  
  644.   LASI checks memory, and refuses to execute if it thinks that there is too
  645.   little available, but it is not perfect because it really doesn't know
  646.   how much memory a program needs. DOS eventually determines this.
  647.  
  648.  
  649.   The LASI System is a very complex and evolving system. It is possible
  650.   that situations will occur with different hardware and software
  651.   environments that will cause difficulties. Once authentic problems are
  652.   reported they are usually fixed. Consult the author or your source of
  653.   this software for the latest version.
  654.  
  655.  Drawing Display
  656.  
  657.   When operating in Cell Mode the drawing area occupies most of the screen.
  658.   The command menu appears on the right of the screen, and status
  659.   information is displayed on the top and bottom of the screen.
  660.  
  661.  
  662.       ┌─ Cell(Rank)── Command (Point)──── Cursor Position ──┬─────────┐
  663.       │                                                     │         │
  664.       │                                                     │         │
  665.       │                                                     │         │
  666.       │                                                     │         │
  667.       │                                                     │         │
  668.       │                 Drawing Area                        │  Menu   │
  669.       │                                                     │  Area   │
  670.       │                                                     │         │
  671.       │                                                     │         │
  672.       │                                                     │         │
  673.       │   (Active Count etc.)                               │         │
  674.       ├─ View(layers)── Open(layers)─────────── Indicators ─┤         │
  675.       └─ wGrd ─── dGrd ─── Obj ─── Layr ─── Wdth ───────────┴─────────┘
  676.           (Input and Messages)
  677.  
  678.  
  679.   The top status line shows the name of the cell and its rank on the left.
  680.   Near the center is the name of the current command and the point to be
  681.   inputted. Commands usually display in cyan, but nested "window" commands
  682.   display in red.
  683.  
  684.   The top line also shows the current position of the mouse cursor. The
  685.   lowercase "w" or "u" prefixing X or Y indicates that the cursor is in the
  686.   "working" or the "unit" grid.
  687.  
  688.   The upper bottom line shows the layers that are viewed and open for
  689.   modification, and at the extreme right, the status of the cell outline
  690.   name, the path center line and the text reference keyboard toggle
  691.   switches. (Read Key Assignment and the OUTL, DRAW and TEXT Commands.)
  692.  
  693.   The upper bottom line may also display other information, such as the
  694.   number of active objects or INFO command information.
  695.  
  696.   The lower bottom line normally displays the working and dotted grids, the
  697.   name or type of object that will be added with the ADD command, the layer
  698.   if the object is a box or path, and the width of the path.
  699.  
  700.   The lower bottom line also serves as an input line for various keyboard
  701.   inputs, such as direct X and Y coordinate inputs or text string inputs.
  702.  
  703.   The bottom line also displays certain warning messages that may be sent
  704.   to indicate a problem, for example, "RAM Disk Full or Unavailable ...",
  705.   which can occur quite often.
  706.  
  707.   When the bottom two lines return to their normal status information, this
  708.   indicates that a command has been successfully completed (or aborted) and
  709.   LASI is waiting for a new command.
  710.  
  711.  Drawing Speed
  712.  
  713.   On a fairly slow computer, drawing a large number of cells can take a
  714.   considerable amount of time. LASI has several features to allow you to
  715.   work on larger drawings more effectively. These are as follows:
  716.  
  717.   1. Pressing the ESC key or clicking the right mouse button causes a
  718.      drawing sequence to abort in two stages. The first stage forces cells
  719.      to be drawn as lightly dashed outlines. The second stops the present
  720.      cell's boxes and paths from being drawn. You don't have to draw
  721.      completely if you only want to locate a certain area. Just find where
  722.      the area is, abort further drawing and ZOOM in.
  723.  
  724.   2. Cells may be replaced by their outline, which draws almost instantly.
  725.      Read the OUTL and FULL Command topics.
  726.  
  727.   3. Objects that are too small to draw may be skipped by setting the
  728.      resolution properly. Read the SET Command topic.
  729.  
  730.   4. Objects that are out of a drawing window are remembered and are
  731.      skipped for certain commands.
  732.  
  733.   5. The cell files may be (and should be) automatically transferred to a
  734.      RAM disk. Read the RAM Disk topic.
  735.  
  736.   Note:  If you speed up drawing using first method, active box sides and
  737.     active vertices are still drawn or marked, and active cells are still
  738.     drawn as filled outlines. This is to indicate where an active object is
  739.     located.
  740.  
  741.  Error Messages
  742.  
  743.   Most messages are self-evident and appear in the dialog area in System
  744.   Mode, on the bottom line in Cell Mode, or on the top line in both modes
  745.   when DOS calls are made. Some error messages are less obvious and may be
  746.   explained as follows:
  747.  
  748.     "Out of Object Memory!" means that you have completely run out of
  749.     memory avaiable to hold the objects of a cell. Use some method to get
  750.     more conventional memory on your PC, or better, use more cell nesting
  751.     to reduce the parts count in a cell.
  752.  
  753.     "Unable to Load File(s)!" means that you are not able to load a cell
  754.     file, usually because you have too little memory space available. This
  755.     also indicates that a cell file (BP4 or CL4) may be missing, or you are
  756.     trying to load a pooled cell.
  757.  
  758.     "Box/Path/Vertex/Cell Limit!" means that you are trying to add an
  759.     object that exceeds the maximum number for its type.
  760.  
  761.     "Not Available!" means that LASI will not act as a "shell" to execute
  762.     other programs ("child" processes).
  763.  
  764.     "Rank Error!" means that you are trying to add a cell that has rank
  765.     greater than or equal to the cell on which you ar working.
  766.  
  767.     "File Error!" means that a file error occurred at the DOS system level.
  768.     Usually you tried to erase a file that did not exist, or you tried to
  769.     rename a file that didn't exist or had a name conflict.
  770.  
  771.     "No Object!" means that you are trying to set an object to be added
  772.     that cannot be found in the cell list.
  773.  
  774.     "Not Enough Space to Smash CELLNAME!" means that there isn't enough
  775.     memory to hold the objects that would result if a cell is smashed.
  776.  
  777.     "RAM Disk Full or Unavailable ... Using Hard Disk!" means that you
  778.     either have set a RAM disk in the FORM.DBD file that doesn't exist, or
  779.     the RAM disk has run out of space for new files or new filenames. You
  780.     should erase old files from your RAM disk or, if possible, reconfigure
  781.     it in the DOS CONFIG.SYS file to provide more file space or a larger
  782.     directory.
  783.  
  784.  File Types
  785.  
  786.   The LASI drawing program uses several files when it is run. These are:
  787.  
  788.   DBD (drawing basic data) files
  789.  
  790.     CELLS4.DBD is the master list of cells used by LASI to know which cells
  791.     it has to use in a drawing. The position of a cell in the file is an
  792.     index used by LASI to keep track of which cells are used in other
  793.     cells.
  794.  
  795.     FORM.DBD contains the configuration information used by LASI when it
  796.     starts. Read the FORM File topic.
  797.  
  798.     CONSTS4.DBD is a file that is maintained by LASI itself, and contains
  799.     the information (or constants) that determine the immediate settings of
  800.     many parameters. Although it is ASCII this file should not be edited.
  801.  
  802.     TXT.DBD is a generic Text Font File. This file is a binary file that
  803.     contains patterns for the text characters. This file was generated by
  804.     the MAKETXT.EXE utility and can only be modified using that utility.
  805.     Otherwise, the user is free to make his own fonts following the
  806.     directions under the topic Text Generation.
  807.  
  808.  
  809.   Cell Data Files
  810.  
  811.     Cell data files are named with the name of a cell with a BP4 or a CL4
  812.     extension.
  813.  
  814.     BP4 files are internal binary files that contain information on boxes,
  815.     paths, text and vertices. These files are maintained by LASI and other
  816.     utilities and are not to be externally edited.
  817.  
  818.     CL4 files are internal files that contain information on which cells
  819.     are contained in other cells. Rank 1 cells do not produce these files.
  820.     These files are not to be externally edited.
  821.  
  822.  FORM File
  823.  
  824.   The configuration information for each drawing is in the FORM.DBD file.
  825.   This file MUST be in each drawing directory. You write it using a text
  826.   editor in standard DOS text format. The FORM.DBD file is an IMPORTANT
  827.   file because it is used by the LASI drawing program and most of the
  828.   UTILITY PROGRAMS to configure to the particular drawing environment.
  829.  
  830.   The FORM parameters are keywords followed by "=" and then the FORM
  831.   variable. These may be in any order, or be omitted. If a parameter is
  832.   omitted a default parameter is used if possible.
  833.  
  834.   The present FORM parameters are:
  835.  
  836.     hdisk=C:,D:,etc.            (\LASI4 directory hard disk letter name)
  837.     rdisk=D:,etc. or blank      (RAM disk letter name)
  838.     fdisk=A: or B:              (floppy disk letter name)
  839.     hcopy=XXXX                  (name of bitmap program to be used)
  840.     plot=XXXX                   (name of plotter support program)
  841.     text=XXXX                   (path\name of Text Font File)
  842.     vmode=vga,ega,svga,mono,lcd (forces the display mode)
  843.     pool=pool directory         (path\name of cell pool directory)
  844.     fkey=command line           (progressively assigns F-keys)
  845.  
  846.   ■ "hdisk=" sets the letter name of the hard disk where the \LASI4
  847.     directory is located and is used to find certain files.
  848.  
  849.   ■ "rdisk=" sets the letter name of a RAM disk that was created in memory.
  850.     Read the Using RAM Disk topic for more information.
  851.  
  852.   ■ "fdisk=" variable sets the letter name of the default floppy drive
  853.     where certain files are routinely imported and exported. Read the
  854.     TLC-IN and TLC-OUT topics.
  855.  
  856.   ■ "hcopy=" is the name of the screen hardcopy program. Read the HCPY
  857.     Command topic for information on these programs.
  858.  
  859.   Important:  If you don't have a printer on the computer leave the
  860.     hardcopy parameter "hcopy=" blank. This will prevent the system from
  861.     possibly hanging up if HCPY is pushed.
  862.  
  863.   ■ "plot=" is the name of the plotter program. At the present there is
  864.     only one plotter program LASI2PGL.EXE.
  865.  
  866.   ■ "text=" is the path\name of the Text Font File. If this parameter is
  867.     left blank or if it is left out of the FORM File altogether, the
  868.     default "\LASI4\TXT.DBD" will be assumed. Note that this variable may
  869.     contain a DOS path. This allows you to make your own Text Font Files
  870.     and put them in any directory.
  871.  
  872.   ■ "vmode=" overrides the automatic sensing of VGA or EGA hardware. This
  873.     can take multiple arguments separated by spaces. The arguments may be
  874.     "ega", "vga", "svga", "mono" or "lcd".
  875.  
  876.     ∙ "vga" or "ega" force 640x480 or 640x350 16 color graphics mode.
  877.  
  878.     ∙ "svga" forces 800x600 16 color VESA standard graphics mode. You must
  879.       have the hardware or the driver software that conforms to the VESA
  880.       standard or you will probably crash.
  881.  
  882.     ∙ "mono" redefines the color palette to black, gray, white and bright
  883.       white for use with monochrome monitors and laptops.
  884.  
  885.     ∙ "lcd" increases the thickness of the cursor so that it is more
  886.       visible on a slowly changing LCD display.
  887.  
  888.     The arguments may also contain two floating point numbers separated by
  889.     spaces that set the "mouse sensitivity" (or mickey multiplier) for the
  890.     x and y axes respectively. These numbers default to 1 if omitted. Set
  891.     these numbers to whatever feels best with your mouse.
  892.  
  893.       Example:  vmode=svga mono 1.5 .75
  894.  
  895.     Sets the display to 800x600 monochrome display mode, and changes the
  896.     mouse sensitivity to 1.5 times normal in X and .75 times normal in Y.
  897.  
  898.  
  899.   ■ "pool=" sets the directory where pooled cells are stored. If the pool
  900.     directory is on a different disk than the drawing directory, precede
  901.     the directory name with the disk letter. Omit "\" from the end of the
  902.     pool directory name. If you don't have a pool directory leave this
  903.     parameter blank or erase it from FORM.DBD altogether.
  904.  
  905.   ■ "fkey=" parameters progressively assign a command line to a function
  906.     key, starting with F2 (F1 is always HELP.) through F10, SHIFT-F1
  907.     through SHIFT-F10, CTRL-F1 through CTRL-F10 and ALT-F1 through ALT-F10.
  908.     Read the F-keys topic for more details.
  909.  
  910.  
  911.   FORM is a command on the menus. It lists the FORM parameters of the
  912.   drawing directory where you are working.
  913.  
  914.  Hardcopy
  915.  
  916.   Hardcopies of the drawing display can be made by calling screen bitmap
  917.   printing programs. These are small programs that are included with the
  918.   LASI System. These hardcopy programs can send the bitmap data directly to
  919.   a printing device or can produce a file for later printing.
  920.  
  921.   Any hardcopy program is installed by including its name in the "hcopy="
  922.   parameter in the FORM.DBD file. Hardcopy programs are always kept in the
  923.   \LASI4 directory. When LASI calls a hardcopy program, it attaches that
  924.   path to the filename.
  925.  
  926.   Presently there are 2 hardcopy programs in the \LASI4 directory:
  927.  
  928.   1. DMHCPY.COM makes a black and white copy of the screen in standard
  929.      Epson FX or LQ dot matrix format.
  930.  
  931.     There are 4 arguments (upper or lowercase) that may be appended to the
  932.     "hcopy=dmhcpy" parameter in the FORM.DBD file:
  933.  
  934.       "F" which causes a bitmap data file to be produced
  935.  
  936.       "Q" which causes LQ format to be produced
  937.  
  938.       "H" which causes a heavier copy to be made by duplicating any dots
  939.         printed
  940.  
  941.       "G" which turns on "generic" printer codes that will work with almost
  942.         any IBM/Epson printer. Aspect ratios will be not be 1:1.
  943.  
  944.     These arguments may be in any order.
  945.  
  946.     For example, "hcopy=dmhcpy h q f" produces a file with heavy printing
  947.     for an LQ type printer.
  948.  
  949.     If you are making a data file, a small window will open and close in
  950.     the lower left of the screen requesting a file name.
  951.  
  952.     If you produce files in the Epson FX printer format. You can build
  953.     single or multiple sheet fax files for transmission using an Intel
  954.     SatisFAXion board. You can also translate the files into other formats
  955.     using a converter such as HIJAAK.
  956.  
  957.     If you are operating in VGA graphics mode, the hardcopy that you get
  958.     will have a correct 1:1 aspect ratio, that is, if you don't use the "G"
  959.     argument.
  960.  
  961.   2. LJHCPY.COM makes a black and white copy on a LaserJet or a DeskJet
  962.      type printer. The bitmap is produced at 75 dots/in. LJHCPY.COM
  963.      produces a data file if a command line argument "F" (or "f") is
  964.      appended to the "hcopy=ljhcpy" parameter in the FORM.DBD file. This
  965.      data file may converted to other formats, or copied to a LaserJet for
  966.      printing later.
  967.  
  968.   Read the HCPY Command topic.
  969.  
  970.  Hardware
  971.  
  972.   The LASI will run in some configuration on almost any IBM compatible
  973.   computer with common basic hardware options. In fact, it is the
  974.   philosophy of LASI not to require the latest, fastest or any special
  975.   hardware. LASI will run on an old AT type computer (or even painfully
  976.   slow on an XT type), but a faster computer is always an advantage. LASI
  977.   will run quite nicely on a 386 or 486 "average" PC with clock speed of 25
  978.   MHz or more.
  979.  
  980.   This is the minimum hardware required:
  981.  
  982.     1. 640K of conventional memory
  983.     2. A hard disk
  984.     3. VGA or EGA adaptor and color monitor (see below)
  985.     4. A mouse
  986.     5. A math coprocessor (see below)
  987.  
  988.  
  989.   640K of Conventional Memory
  990.  
  991.     The LASI drawing program takes a minimum of about 240K. Drawing data is
  992.     kept in conventional memory also, so if you don't have full memory, the
  993.     size of your drawing will be excessively memory limited. You will also
  994.     not be able to run certain programs from LASI.
  995.  
  996.     Using extended memory and MS-DOS 5 or 6 from Microsoft or DR-DOS 6.0
  997.     from Digital Research will improve this situation because these
  998.     operating systems move drivers to high memory.
  999.  
  1000.     Read the Allocating Memory topic for more information on use of memory.
  1001.  
  1002.  
  1003.   Hard Disk
  1004.  
  1005.     While working on a drawing, the basic drawing files (or cell files)
  1006.     need to be swapped back and forth to the disk. The hard disk should be
  1007.     as fast as possible. Each cell may use one or two files for storage.
  1008.     One cell file can be as large as 384K, the other 64K. Files this large
  1009.     will be rare, if not impossible due to RAM limitations. However, for
  1010.     large drawings with many cells, a total of several megabytes of disk
  1011.     space may still be needed.
  1012.  
  1013.  
  1014.   EGA or VGA Adaptor with Color (or Monochrome) Monitor
  1015.  
  1016.     LASI uses some direct hardware access so the EGA or VGA board must be
  1017.     register compatible to the IBM standard. If you have VGA graphics, the
  1018.     VGA will default to VGA 640x480 16 color graphics mode. If you have EGA
  1019.     you will default to 640x350 graphics mode. You may override the
  1020.     automatic default by setting a "vmode=" parameter in the FORM File.
  1021.  
  1022.     If you have a VGA board and a monitor capable of 800x600 16 color
  1023.     graphics, you can run LASI in that mode by setting "vmode=svga" in the
  1024.     FORM File. You must have a board that is VESA (Video Electronics
  1025.     Standards Association) compatible with supplemental driver software
  1026.     (furnished by the board's maker), or the board must have a BIOS that is
  1027.     directly compatible with the VESA standard. Most new boards will meet
  1028.     one of these requirements.
  1029.  
  1030.     If you have a monochrome monitor with a gray scale VGA display, you can
  1031.     redefine the color palette to black, gray, white and bright white by
  1032.     adding "mono" to the "vmode=" parameter in the FORM File. You may have
  1033.     to trick your VGA board into thinking that it has a color monitor by
  1034.     grounding the ID bit 0 (pin 11 on the 15 pin D connector).
  1035.  
  1036.     Laptop computers with a VGA display will also run LASI. A possible
  1037.     problem when using a laptop is that the LCD display isn't fast enough
  1038.     to track the mouse cursor. To improve this, the cross shaped mouse
  1039.     cursor may be expanded to more pixels to improve the cursor's
  1040.     visibility if "lcd" is added to the "vmode="parameter.
  1041.  
  1042.     Because LASI writes directly to the hardware, you will get faster
  1043.     graphics if you use a 16-bit graphics board, instead of an 8-bit board.
  1044.     In ISA (AT) type computers of any CPU speed, the bus speed is usually
  1045.     still 8 MHz. This limits the drawing speed of LASI and most of any
  1046.     other graphical software, including Windows or OS/2.
  1047.  
  1048.     There are also some new bus architectures that raise the bus speed when
  1049.     servicing video, or have an independent high-speed bus, such as the
  1050.     VESA Local Bus (VL-Bus). If your graphics board can work at a higher
  1051.     speed or is VESA Local Bus compatable, your LASI drawing speed will
  1052.     greatly improve.
  1053.  
  1054.     If you are buying a computer to run LASI (or anything else), it is
  1055.     recommended you get one with a VESA Local Bus. Some manufacturers have
  1056.     their own proprietary bus; it is likely that these will die out and the
  1057.     VESA Bus will be standard. Note also that "accelerated" video boards
  1058.     are available, but are often designed to speed up Windows or specific
  1059.     CAD systems, like AutoCAD, using special driver software. These may not
  1060.     help LASI very much.
  1061.  
  1062.  
  1063.   Mouse
  1064.  
  1065.     Pretty much everything is done graphically by mouse. All mouse function
  1066.     calls conform to Microsoft Mouse Protocol. LASI does little more than
  1067.     look for button pushes and return screen location. The cursors are
  1068.     drawn directly, so LASI is very mouse tolerant. Any mouse that has at
  1069.     least two buttons, has driver software that works with EGA or VGA, and
  1070.     understands some basic Microsoft mouse driver function calls (numbers
  1071.     0-5, 10 and 11) should work with any of the LASI System programs.
  1072.  
  1073.     To use the mouse, first be sure that the mouse driver software that
  1074.     came with your mouse is installed according to your mouse's
  1075.     instructions, and that you know that the mouse works with most other
  1076.     programs. Using current Microsoft mouse driver software and a Microsoft
  1077.     compatible mouse is usually best.
  1078.  
  1079.     LASI reads "mickeys" directly (actual movement count) and moves the
  1080.     cursor accordingly. Certain mouse driver sensitivity switches (/H /V)
  1081.     won't work when this is done, but sensitivity can be sent in the
  1082.     FORM.DBD file. Read the FORM File topic.
  1083.  
  1084.  
  1085.   Math Coprocessor (80287, 80387, etc)
  1086.  
  1087.     Most of the math is done in integer form, which is handled by the CPU
  1088.     directly. A certain amount of floating point arithmetic is also done.
  1089.     If you run LASI.EXE, it will examine your hardware and overlay either
  1090.     LASI87.EXE or LASIA.EXE. If you try to run LASI87.EXE without a
  1091.     coprocessor, the program will return a system error. If you don't have
  1092.     a coprocessor and can't afford one, LASIA.EXE will always run, but it
  1093.     draws about half as fast in certain situations as LASI87.EXE and uses a
  1094.     little more memory.
  1095.  
  1096.  
  1097.   Optional but desirable:
  1098.  
  1099.     1. Extended memory
  1100.     2. A printer (dot matrix or laser)
  1101.  
  1102.  
  1103.   Extended Memory
  1104.  
  1105.     In addition to using less conventional memory if a newer DOS is used,
  1106.     drawing speed may be improved by using extended memory for a RAM disk.
  1107.     The amount of additional memory is dependent on the amount of data in
  1108.     the layout drawings that you make. Experience will determine how much
  1109.     memory you need. Read the Using RAM Disk topic.
  1110.  
  1111.  
  1112.   Printer
  1113.  
  1114.     Hard copies of the screen can be made directly from LASI. Making
  1115.     hardcopies is very handy to examine and keep track of your drawings.
  1116.     Hardcopy support is provided for Epson Generic, FX and LQ type printers
  1117.     and H-P LaserJet type printers. Most printers seem to conform to these
  1118.     standards. Read the HCPY Command topic. If your printer doesn't work
  1119.     contact the author to see if anything can be done about it, providing
  1120.     you have technical information available on your printer and you know
  1121.     that it is capable of bitmap graphics.
  1122.  
  1123.  Help on Help
  1124.  
  1125.   If you are reading this help topic you are probably running the LASI Help
  1126.   and Information program LHI.EXE. LHI is called from LASI by pressing F1.
  1127.   If the mouse cursor is on a COMMAND NAME the name will be passed to LHI
  1128.   and that command's help information will come up immediately.
  1129.  
  1130.   LHI.EXE will also accept optional DOS command line arguments as follows:
  1131.  
  1132.         lhi [disk\path\filename] [topic1 or topic2] [topic2]
  1133.  
  1134.   [Disk\path\filename] is the full name of the help file to read. The
  1135.   filename must contain the extension ".HLP" or the argument will be
  1136.   considered as a topic argument. Leaving this argument out causes a
  1137.   default to "\lasi4\lhi.hlp".
  1138.  
  1139.   The [topic1 or topic2] argument is the topic for the first search. This
  1140.   may be a primary topic such as "Command Information" or a secondary topic
  1141.   such as "Copy". If the topic is more than one word enclose it in double
  1142.   quotes ("") as DOS requires.
  1143.  
  1144.   The [topic2] argument is the subtopic of topic1. This is only necessary
  1145.   if topic2 appears as a subtopic of topic1 in more than one place in the
  1146.   help file. For example, if "Introduction" appears more than once, you
  1147.   must specify the primary topic as topic1 and then "Introduction" as
  1148.   topic2.
  1149.  
  1150.   All arguments may be upper or lower case.
  1151.  
  1152.  Key Assignment
  1153.  
  1154.   Some keys on the keyboard are permanently assigned:
  1155.  
  1156.     CTRL-END exits to DOS from Cell or System Mode.
  1157.     ENTER enters information and does a DRAW command.
  1158.     DIRECTION ARROWS move the drawing window in that direction.
  1159.     TAB toggles the cursor between a small cross and crosshairs.
  1160.     A toggles the cursor between working and unit grid.
  1161.     C toggles the path center line on and off. (retained)
  1162.     N toggles the outline name on and off.
  1163.     T toggles the text reference point on and off. (retained)
  1164.     X or Y opens a PKE entry.
  1165.     Z sets the measurement reference point.
  1166.     SPACE gives a measurement from the reference point.
  1167.     ALT while pressed changes the cursor between working and unit grid.
  1168.  
  1169.   ESC has multiple uses:
  1170.  
  1171.   1. Press ESC to abort most commands at any stage of completion.
  1172.  
  1173.   2. Press ESC to abort drawing at various stages. Read the Drawing Speed
  1174.      topic for details.
  1175.  
  1176.   3. Pressing ESC causes a default value to be retained in any input that
  1177.      has a default value shown in parentheses, even if a new value has been
  1178.      typed.
  1179.  
  1180.   4. ESC returns a NULL (no characters) to such questions as the name of a
  1181.      cell and therefore aborts the process.
  1182.  
  1183.  
  1184.   F1 always calls HELP.
  1185.  
  1186.   The remaining function keys are USER DEFINABLE.
  1187.  
  1188.   F2-F10, SHIFT-F1 through SHIFT-F10, CTRL-F1 through CTRL-F10 and ALT-F1
  1189.   through ALT-F10 may be defined by writing a command with any arguments
  1190.   into the FORM.DBD file.
  1191.  
  1192.   To assign the keys you simply write the command after an "fkey="
  1193.   parameter in the FORM.DBD file. Keys are assigned progressively and the
  1194.   exact assignment can be checked by the FORM command.
  1195.  
  1196.   A command must be a command from the Cell Mode menus and must be followed
  1197.   by any arguments separated by commas.
  1198.  
  1199.   Examples:   "fkey=view,1-4 10 12"
  1200.               makes those layers visible.
  1201.  
  1202.               "fkey=wmov,0,0,100,100,0,0,10,0"
  1203.               moves objects in the 0,0 to 100,100 rectangle
  1204.               10 physical units to the right.
  1205.  
  1206.   The command line may be upper or lower case and no longer than 80
  1207.   characters. Any coordinates are in physical units. Any text generated in
  1208.   this way will be created with case preserved.
  1209.  
  1210.   Commands assigned to function keys are executed on a ONE-TIME basis even
  1211.   though normally the command may be a resident type of command.
  1212.  
  1213.   Function keys work differently in System Mode, so no System Mode command
  1214.   may be assigned to a function key. Certain commands in Cell Mode work
  1215.   differently also and may no be assigned to function keys. These are LIST,
  1216.   CELL, SYS and UNDO.
  1217.  
  1218.   LASI should be smart enough to request additional arguments in the normal
  1219.   way if you list too few in the key assignment, or throw away any extras
  1220.   if you have too many. Coordinates are always requested in pairs.
  1221.  
  1222.  Local Area Network
  1223.  
  1224.   It should be possible to use the cell pooling feature of LASI 4.2 to
  1225.   provide a common pool of basic cells over a Local Area Network (LAN)
  1226.   consisting of several PCs or work stations.
  1227.  
  1228.   Put the network server disk directory prefix in the "pool=" parameter in
  1229.   the FORM.DBD file. LASI will then load an attached cell's BP4 file from
  1230.   the server. If you are using a RAM disk locally, the file will then be
  1231.   stored on the RAM disk the first time you draw it, and will remain there
  1232.   until you quit LASI.
  1233.  
  1234.   You can also make a permanent copy of a pooled cell from the network
  1235.   using the IMPORT command.
  1236.  
  1237.   For transferring cells with rank greater than 1, you must use TLCIN.EXE.
  1238.   In that case, the "fdisk=" parameter in FORM.DBD can be set to the server
  1239.   directory prefix with TLC files in that directory on the server. Any
  1240.   files transferred by TLC will become normal cells not attached cells.
  1241.   Care also must be taken not to write back to the server, since TLC works
  1242.   both ways.
  1243.  
  1244.  Managing Objects
  1245.  
  1246.   So that it can be accessed rapidly, the data for LASI drawing objects is
  1247.   kept in what is known as conventional memory, the memory up to 640K
  1248.   bytes. The LASI main program is loaded at some low address determined by
  1249.   the DOS system. The main program will use about 240K, and the remaining
  1250.   memory space can be used for object data.
  1251.  
  1252.   Conventional Memory Map:
  1253.                                     Object Data Area     small prgms.
  1254.           DOS+TSRs       LASI     (free in System Mode)  or more data
  1255.         ├───────────┼────────────┼────────────────────────┼──────┤
  1256.       0K <Minimum>    <≈240K >           <≈310K>          <64K> 640K
  1257.  
  1258.  
  1259.   LASI has to perform the following tasks to control object data:
  1260.  
  1261.   1. When LASI loads a cell, it has to clear the memory in the Object Data
  1262.      Area of any previous cell object data and load the object data for the
  1263.      new cell if it will fit, and fail gracefully if it will not.
  1264.  
  1265.   2. Since commands work globally, LASI has to keep the data for all the
  1266.      different types of objects immediately available in memory.
  1267.  
  1268.   3. If objects are added, LASI has to allocate more memory if necessary,
  1269.      and fail gracefully if none is available.
  1270.  
  1271.   4. While drawing cells that contain other nested cells, LASI must also
  1272.      swap in and out object data at different levels of nesting, and still
  1273.      retain necessary basic data.
  1274.  
  1275.   Doing all this is obviously not a trivial job, at least to do it
  1276.   efficiently. LASI 4.2 has a set of interacting functions that do all this
  1277.   and form what is usually called a "object manager". The manager works
  1278.   transparently, and may only be noticed on some slower computers when its
  1279.   additional layer of programming abstraction makes things run a little
  1280.   more slowly.
  1281.  
  1282.   Specifically, the object manager controls the memory used for box, path,
  1283.   vertex and cell object data records.
  1284.  
  1285.   LASI stores paths or polggons and their vertices as separate records, and
  1286.   therefore allocates space in memory for them separately. This is because
  1287.   there is no good relation between the number of paths you use and the
  1288.   number of vertices that you put into the paths. To be efficient, path
  1289.   data is packed together and vertex data is packed together. Read the
  1290.   Objects topic, and if curious, read the LASI42.DSS file for the data
  1291.   record format.
  1292.  
  1293.   Memory is allocated in 8K blocks, without regard to the type of object.
  1294.   You can therefore have one cell that has many paths with many vertices,
  1295.   and another cell that has many boxes, all in the same drawing, and LASI
  1296.   will accommodate. Memory will be adjusted to the objects that you use.
  1297.  
  1298.   There are limits on the number of a type of object that may be used in a
  1299.   single cell. These limits are as follows:
  1300.  
  1301.           Boxes     = 13104 max.
  1302.           Paths     = 10920 max.
  1303.           Vertices  = 32736 max.
  1304.           Cells     = 10920 max. (no dependence on level or rank)
  1305.  
  1306.   If you use any object up to its limit, you probably are not using cell
  1307.   nesting very efficiently. You will discover that using many objects in a
  1308.   single cell slows down some operations considerably.
  1309.  
  1310.   When drawing, you may add objects to a cell until the maximum limit for
  1311.   each type of object is reached, or you may simply run out of object
  1312.   memory altogether. In either case, a message will tell you what has
  1313.   happened, and the event should be harmless.
  1314.  
  1315.   You will also discover that there isn't enough conventional memory to
  1316.   reach maximum limits simultaneously. This should not be a problem because
  1317.   you should have broken up a cell into lesser cells long before you reach
  1318.   that situation.
  1319.  
  1320.   When you start LASI in System Mode, the maximim amount of available
  1321.   memory will be displayed in the Environment area. When in Cell Mode, the
  1322.   INFO command shows how much memory is still free. Unless you make cells
  1323.   with thousands of objects, you will probably not use much memory, and you
  1324.   won't have to worry about it.
  1325.  
  1326.   The actual memory available is dependent on the hardware and software
  1327.   configuration of your computer. It is possible that cells that "fit" on
  1328.   one computer will not "fit" on another. It is therefore important that
  1329.   you make as much memory initially available as possible. When to start a
  1330.   program that manages objects, either LASI or one of the utility programs,
  1331.   the available memory is shown. Use this number for comparison.
  1332.  
  1333.   DOS needs at least 64K available to load almost anything at first. (It
  1334.   can then give memory back.) If you fill your memory, you won't be able to
  1335.   call some other small programs from LASI, such as the screen hardcopiers,
  1336.   or even HELP. To make the most memory space available, you should
  1337.   minimize the "resident" programs (TSRs) and drivers that you install when
  1338.   booting up your computer, or you should move them to "high memory", 640K
  1339.   to 1024K.
  1340.  
  1341.   The newer DOS's you can load much of your resident software into high
  1342.   memory. Read the MS-DOS 5 or 6 topic.
  1343.  
  1344.   You can also gain quite a bit of memory by using one of the better memory
  1345.   managers such as QEMM-386 or 386MAX, which move TSRs and drivers into
  1346.   high memory more effectively than DOS 5. MS-DOS 6 has MEMMAKER which does
  1347.   the same as QEMM-386 and 386MAX and will probably do quite nicely.
  1348.  
  1349.  Measurements
  1350.  
  1351.   The position of the cursor in the drawing window is continuously read out
  1352.   at the top of the screen. The coordinates are either in working grid
  1353.   units or in the smallest possible grid unit, the unit grid. You may
  1354.   switch between these by pressing the A or ALT keys.
  1355.  
  1356.   There is no ruler, but distances can be measured graphically. The Z key
  1357.   zeroes the measurement system to the current cursor grid point. The
  1358.   current cursor grid point may be either in the working grid or the unit
  1359.   grid, depending on the resident command or if the cursor grid has been
  1360.   switched by the A or ALT keys.
  1361.  
  1362.   If the space bar is then pressed, a measurement from the zero point will
  1363.   be displayed at the bottom of the screen. The second point will be
  1364.   gridded to the present cursor grid.
  1365.  
  1366.  Mouse Cursor
  1367.  
  1368.   LASI is designed to be very mouse intensive. Positioning the cursor and
  1369.   clicking the mouse buttons chooses the commands and inputs most all the
  1370.   graphical information. The exceptions being when a literal or numerical
  1371.   input is required, or when a specially assigned key is used.
  1372.  
  1373.   The mouse cursor is usually a small cross that may have other figures
  1374.   added to it. When on a menu, a box will appear that indicates which
  1375.   command will be chosen. When using drawing commands dotted lines or a
  1376.   dotted rectangle will appear.
  1377.  
  1378.   The cursor can be toggled between the small cross and crosshair lines by
  1379.   pressing the TAB key. The cursor automatically turns back to the small
  1380.   cross if not on the drawing window.
  1381.  
  1382.   When a cursor input is expected, the point needed will be shown at the
  1383.   top of the screen after the command name. Most commands take one or two
  1384.   points.
  1385.  
  1386.   The cursor moves in discrete steps. When a command is chosen, the cursor
  1387.   is set to move either in the unit grid or in one of a number of preset
  1388.   working grids. The working grids are entered using the SET command, and
  1389.   are changed with the WGRD command. The cursor's grid type may change from
  1390.   command to command or during a command, but it may always be toggled from
  1391.   one type of grid to the other by pressing either the A or the ALT key on
  1392.   the keyboard.
  1393.  
  1394.   Certain cell commands use a DOUBLE CLICKING of the left mouse button to
  1395.   change the way that the command acts on cells. If you click twice
  1396.   rapidly, the cells that overlap the mouse cursor points will be affected.
  1397.   If you wait a bit between clicks, only the cells that have their areas
  1398.   fully enclosed by the mouse cursor window will be affected.
  1399.  
  1400.   The time between mouse clicks is set as the number of "ticks" using the
  1401.   SET command in Cell Mode. Each tick is about 1/20 sec. Adjust this to
  1402.   your own comfort. The number of ticks is saved and returned when you
  1403.   restart LASI.
  1404.  
  1405.   Hint:  If you want to turn off double clicking entirely, set the number
  1406.     of ticks to 0. If you always want double clicking actions, set the
  1407.     number of ticks to a large number, such as 32000.
  1408.  
  1409.  Objects
  1410.  
  1411.   A drawing is built of things called OBJECTS. In a drawing objects are
  1412.   placed in a hierarchy, the position of an object in this hierarchy is
  1413.   called its RANK.
  1414.  
  1415.   The lowest rank (0) objects are the basic constructions, BOXES, PATHS,
  1416.   POLYGONS and TEXT.
  1417.  
  1418.   The higher rank (1-15) objects are the CELLS, which are the basic
  1419.   structures of a drawing. Any cell can contain one or more objects of
  1420.   lesser rank.
  1421.  
  1422.   All the cells in a drawing are called the CELL COLLECTION.
  1423.  
  1424.  
  1425.   Boxes
  1426.  
  1427.     Boxes are objects that have the properties of four sides, each
  1428.     orthogonal to the adjacent, and a layer. Only the position of the sides
  1429.     and the layer may be changed.
  1430.  
  1431.  
  1432.   Paths
  1433.  
  1434.     Paths are a set of vertices in some order which display as a set of
  1435.     endwise merged rectangles, all with the same width, but usually
  1436.     different lengths.
  1437.  
  1438.     A path with a zero width is called a polygon (poly for short).
  1439.  
  1440.     A polygon is special case of a path, and the term "path" can be used to
  1441.     refer to either, except in the case where a zero width path is
  1442.     explicitly indicated.
  1443.  
  1444.     A polygon need not be closed. A line of zero width however usually does
  1445.     not reproduce anything useful in an integrated circuit, so polygons
  1446.     will usually be closed intentionally.
  1447.  
  1448.     Vertices may have their position changed, and the vertices of a path
  1449.     may be added or deleted. The width or layer of the path may be changed.
  1450.  
  1451.     Paths with a positive width are drawn with their ends flush with their
  1452.     end vertices, while paths with negative widths are drawn with their
  1453.     ends spaced out half the width from the vertices. Paths with negative
  1454.     width are discouraged and are provided only for CALMA compatibility.
  1455.  
  1456.     A path with width can have no more than 250 vertices. A polygon can
  1457.     have no more than 500 vertices.
  1458.  
  1459.  
  1460.   Text
  1461.  
  1462.     Text is a form of path that instead of displaying vertices, displays a
  1463.     string of text characters linearly. Text is stored as a special path,
  1464.     and many of the commands that affect paths work on text objects. Text
  1465.     can have a layer and a size which corresponds to a path's width.
  1466.  
  1467.  
  1468.   There are 64 layers available for boxes, paths and text, numbered 1-64.
  1469.  
  1470.  
  1471.   Cells
  1472.  
  1473.     All drawing is done on cells. A cell has a NAME by which it is called
  1474.     for drawing or for insertion into other cells. The name must be
  1475.     acceptable as a DOS filename, since cell files will be made using that
  1476.     name. A cell is named when it is created, but it may be renamed. A rank
  1477.     is also assigned when a cell is created and cannot be changed, although
  1478.     a cell can be copied to a different rank. The term "cellname" may be
  1479.     used to refer to the name of cells in general.
  1480.  
  1481.     Cell ranking is strictly enforced so that computer memory usage is
  1482.     better controlled and ambiguous constructions (i.e. cells in
  1483.     themselves) are avoided.
  1484.  
  1485.     In general, the overall layout drawing will be the highest ranking
  1486.     cell. There however may be many cells of that rank, for perhaps
  1487.     different versions of the same integrated circuit.
  1488.  
  1489.     Cells have a property known as AREA. The area of a cell is the region
  1490.     within the rectangle that fully encloses all the objects that make up
  1491.     the cell. A cell's OUTLINE is the perimeter of the area, or simply the
  1492.     enclosing rectangle. Cells may be drawn in full, or may be drawn as
  1493.     only their outline. Cells in a part of a drawing that is not currently
  1494.     being worked upon may be outlined to improve clarity and to speed up
  1495.     redrawing.
  1496.  
  1497.     When a cell is drawn as its outline it may be manipulated as though it
  1498.     was drawn fully. However, when cells are outlined, double clicking the
  1499.     mouse has no effect on the action of a command. An outlined cell must
  1500.     always be fully enclosed by the mouse cursor window to have any action.
  1501.     Read the Mouse Cursor General topic and the individual command topics.
  1502.  
  1503.  Operating Modes
  1504.  
  1505.   LASI runs from DOS in two operating modes, System Mode and Cell Mode:
  1506.  
  1507.  
  1508.                                            LIST   ┌<----------┐
  1509.            ┌─────────┐ "lasi"  ┌─────────┐ CELL ┌─────────┐   |
  1510.            │         │-------->│ System  │----->│  Cell   │   |
  1511.            │   DOS   │         │         │      │         │-->┘
  1512.            │         │<--------│  Mode   │<-----│  Mode   │
  1513.            └─────────┘  QUIT   └─────────┘  SYS └─────────┘
  1514.                 |                                    |
  1515.                 └---------------------------------->-┘
  1516.                           "lasi cellname"
  1517.  
  1518.  
  1519.   System Mode is a housekeeping mode which has commands for overall
  1520.   manipulation of cells and the control of certain drawing parameters.
  1521.  
  1522.   Cell Mode is the mode where actual drawing is done. When Cell Mode is
  1523.   entered a cell drawing is opened for creation or modification. Cell Mode
  1524.   has the following properties:
  1525.  
  1526.   ■ Cell Mode has up to 15 ranks.
  1527.  
  1528.   ■ The rank of Cell Mode is obtained from the cell being drawn.
  1529.  
  1530.   ■ Each Cell Mode rank keeps separate parameters, such as window size and
  1531.     position, in order to simplify moving between different ranks of cells
  1532.     while working on a drawing.
  1533.  
  1534.   ■ All Cell Modes are identical except for the ranking.
  1535.  
  1536.   ■ Both modes have a menu of commands on the side of the screen. The
  1537.     commands are explained under their own help topics.
  1538.  
  1539.   ■ When LASI is started it goes to System Mode.
  1540.  
  1541.   ■ Using the SYS command that appears in the Cell Mode menu is the normal
  1542.     way to reenter System Mode from Cell Mode.
  1543.  
  1544.   ■ Using the CELL and LIST commands which appear in both mode menus is
  1545.     normal way to enter Cell Mode and open another cell.
  1546.  
  1547.   Cell Mode may be entered directly from DOS (as shown above) by adding the
  1548.   name of a cell to the command line when starting LASI.
  1549.  
  1550.     Example: "lasi flipflop" when typed in DOS runs LASI and
  1551.               enters into the cell named "FLIPFLOP".
  1552.  
  1553.   Read the CELL, LIST and SYS commands.
  1554.  
  1555.  PKE Feature
  1556.  
  1557.   Parallel Keyboard Entry can be done any time a command is requesting a
  1558.   point normally inputted by the mouse. To start a PKE entry press either
  1559.   the X or Y keys. The coordinate pair will appear in the lower left corner
  1560.   of the screen.
  1561.  
  1562.   Pressing the X or Y key clears that coordinate to zero and a new value
  1563.   may then be typed into that coordinate. Coordinate values may contain a
  1564.   decimal point or a minus sign. Corrections may be made by pressing X or Y
  1565.   again, clearing the value to zero, or by using the BACKSPACE key.
  1566.  
  1567.   To enter the coordinate pair press ENTER.
  1568.  
  1569.   To abort a pending PKE entry, click on any menu button using the mouse,
  1570.   except any of the window commands, or press ESC.
  1571.  
  1572.   Note:  Some commands that require an incremental input and not an
  1573.     absolute position (MOV for example) accept only a single PKE distance
  1574.     entry instead of two mouse cursor inputs.
  1575.  
  1576.  Pooling
  1577.  
  1578.   In version 4.2 of LASI, rank 1 cells may be kept in a common "pool". This
  1579.   pool is a drawing directory that contains cells that might be used in
  1580.   many different layouts, such as logic elements or standard transistors.
  1581.   The basic cell BP4 file is taken either from the default drawing
  1582.   directory or the pool drawing directory.
  1583.  
  1584.   Cell Source Diagram:
  1585.  
  1586.                    ┌───────────┐ Attached Cell
  1587.               BP4  │   POOL    │----->-┐
  1588.               File └───────────┘       | Attach
  1589.                          |             | Command
  1590.                          |             |    ┌───────────┐
  1591.                          | IMPORT      ├--->│  Drawing  │
  1592.                          | Command     |    └───────────┘
  1593.                          V             |
  1594.                    ┌───────────┐       |
  1595.               BP4  │ Draw Dir. │----->-┘
  1596.               File └───────────┘ Normal Cell
  1597.  
  1598.  
  1599.   The pool directory is set with the "pool=" parameter in the FORM.DBD
  1600.   file. The pool variable is the name of the directory where pooled cells
  1601.   are stored.
  1602.  
  1603.     Example:  "pool=c:\ourpool" would be a line in FORM.DBD
  1604.  
  1605.   If the pool directory is on a different disk than the drawing directory,
  1606.   precede the directory name with the disk letter. Omit "\" from the end of
  1607.   the pool directory name.
  1608.  
  1609.   The cells are "attached" to a drawing using the ATTACH command in System
  1610.   Mode.
  1611.  
  1612.   The attached cells may be included in a drawing by first making them the
  1613.   object to be added with the OBJ command and then adding with the ADD
  1614.   command. Once added the attached cells may be manipulated like any other
  1615.   normal cell.
  1616.  
  1617.   Read the Attached Cells topic and the ATTACH and IMPORT Command topics.
  1618.  
  1619.  Pooling Old Cells
  1620.  
  1621.   It is fairly easy to replace cells made with previous versions of LASI
  1622.   with cells from a common pool. First, the cells to be replaced must be
  1623.   placed in the POOL directory cell collection. The easy way to do this is
  1624.   to use the TLC program to first produce TLC files and then use the TLC
  1625.   program to transfer the TLC files to internal form in the POOL directory.
  1626.  
  1627.   After you are sure that the cells are in the pool, you can run LASI
  1628.   version 4.2 in the DRAWING directory and use the ATTACH command on the
  1629.   cells to be taken from the pool.
  1630.  
  1631.   Once you have decided that all is correct, and you expect to never need
  1632.   the cell in the drawing directory again, you can simply erase the unused
  1633.   BP4 files from the DRAWING directory using DOS's file delete.
  1634.  
  1635.   Do NOT use the KILL command to erase cells, because this removes cells,
  1636.   normal or attached, completely from a drawing.
  1637.  
  1638.   If you happen to run the 4.0 version of LASI on a drawing containing
  1639.   attached cells, the results that you get when drawing will be somewhat
  1640.   unpredictable. Whatever is in the buffers at the time will be drawn in
  1641.   place of the attached cell. This does no harm to the drawing data unless
  1642.   you go into Cell Mode on one of the attached cells. Doing this will
  1643.   generate a BP4 file in the DRAWING directory, and the parameters of the
  1644.   cell in the cells list (CELLS4.DBD) will be rewritten.
  1645.  
  1646.   Fortunately, if you run LASI 4.2 again on the drawing data, the attached
  1647.   cell will be rerecognized and the pool cell will reappear. To correct any
  1648.   problem of wrong data in the cells list you can simply reATTACH the cell.
  1649.   You can also cautiously delete any false BP4 files that may have been
  1650.   placed in the DRAWING directory.
  1651.  
  1652.  Starting a Drawing
  1653.  
  1654.   This is an elaboration on Quick Start. If you have run LASI you already
  1655.   know how to get LASI up and working, here are more details that you would
  1656.   normally go through when really using LASI seriously.
  1657.  
  1658.  
  1659.   To start a drawing:
  1660.  
  1661.   1. Create a "drawing directory" as an independent directory.
  1662.  
  1663.     The drawing directory should be named for the drawing to be made. Each
  1664.     different drawing is kept on the hard disk by isolating it in its own
  1665.     directory. The drawing directory will contain certain .DBD files
  1666.     (drawing basic data) and the "internal" files (.BP4 and .CL4) for the
  1667.     cells that you create.
  1668.  
  1669.     NEVER make drawings in the \LASI4 directory.
  1670.  
  1671.   2. Copy a FORM.DBD file to the drawing directory.
  1672.  
  1673.     The FORM.DBD file customizes LASI to the specific hardware and software
  1674.     you are using. The FORM.DBD is local to a drawing directory so it can
  1675.     be different for each drawing. You may copy a FORM file from another
  1676.     drawing or use the generic one that comes with the system files. Read
  1677.     the FORM File topic for a description of the different parameters.
  1678.  
  1679.   3. Edit the FORM.DBD file if necessary.
  1680.  
  1681.     The FORM.DBD file is important since it configures your drawing to your
  1682.     hardware. You can usually use the default values in the original
  1683.     distribution FORM.DBD at first, but you eventually will need to change
  1684.     FORM.DBD using a editor such as EDLIN.COM or EDIT from MS-DOS 5 or 6.
  1685.     Once you establish a "normal" FORM.DBD file, you can just copy it from
  1686.     drawing to drawing.
  1687.  
  1688.   4. Make the drawing directory your default directory and run LASI.EXE.
  1689.  
  1690.     The program will start in System Mode. When you first begin a drawing
  1691.     you should check the scale using the SCALE command and decide if the
  1692.     parameters are what you want. The scale really only relates the
  1693.     physical units in which you do a drawing to the basic units in which
  1694.     the drawing is actually stored. If you do not use the appropriate
  1695.     scale, you may create cells that have too little resolution, or too
  1696.     much resolution, and the overall size of your drawing will be too
  1697.     small.
  1698.  
  1699.   Note:  The RESIZE.EXE utility program allows the resolution or basic
  1700.     units used to draw cells to be changed later, but it is better to set
  1701.     the correct scale in the beginning.
  1702.  
  1703.   5. If you are using the cell pooling feature of LASI 4.2 attach any
  1704.      pooled cells that you think you might need.
  1705.  
  1706.     You can always attach cells, but bringing in basic cells is a good
  1707.     place to start.
  1708.  
  1709.   6. Use the CELL command to go to Cell Mode and create new cells.
  1710.  
  1711.     Start by drawing the lowest rank cells that will be used as building
  1712.     blocks for higher rank more complex cells, and eventually the overall
  1713.     layout. Generally, repetitive structures should be made as individual
  1714.     cells and used to build other cells. However, too few boxes or paths
  1715.     can be a waste of a cell. With experience you will develop a feel of
  1716.     how to partition your cell structuring.
  1717.  
  1718.   Hint:  If you have a similar drawing in another directory and you have
  1719.     already defined the hardware and drawing parameters, you can copy the
  1720.     CONSTS4.DBD file into the new directory. This will save you the trouble
  1721.     of redefining things over again. The CELLS4.DBD file is NEVER copied
  1722.     from drawing to drawing since it serves as a cell reference list that
  1723.     is different with each drawing. For the same reason, you MAY NOT copy
  1724.     BP4 and CL4 files between drawings.
  1725.  
  1726.  Undoing
  1727.  
  1728.   Whenever you enter into Cell Mode or use the SORT, DEL or SMSH command, a
  1729.   backup copy of the drawing is stored on the hard disk. To retrieve the
  1730.   stored backup, you use the UNDO command.
  1731.  
  1732.   If you don't sort, and you leave LASI unattended, after a certain amount
  1733.   of time, LASI will automatically sort and backup cell drawing data on its
  1734.   own.
  1735.  
  1736.   Read the SORT, DEL, SMSH and UNDO Command topics.
  1737.  
  1738.  Universe
  1739.  
  1740.   The drawing area is 65536 units in each direction since positions are
  1741.   determined by a 16 bit integer. This drawing space might be called the
  1742.   drawing's universe.
  1743.  
  1744.   If objects are moved they may exceed the signed integer limits of -32768
  1745.   to 32767 basic units. Objects that move beyond the limits go through
  1746.   "integer infinity" and reappear from the opposite direction.
  1747.  
  1748.   If this happens, you will find that objects, particularly paths, can be
  1749.   very distorted. To correct this, move the objects back so that all points
  1750.   are in the same universe.
  1751.  
  1752.   Distortions can always be corrected by a linear move if done immediately.
  1753.   More than one "infinity" in sequence may not be correctable.
  1754.  
  1755.   Commands affected:  CPY, FLP, MOV, ORIG, WMOV, QMOV, CMOV, ROT, STEP
  1756.  
  1757.  Using MS-DOS 5 or 6
  1758.  
  1759.   Using DOSSHELL found in MS-DOS 5 or 6 is an easy way to setup drawings
  1760.   when using LASI. You can make each drawing a Program Item either by
  1761.   itself or as a part of a Program Group. Set the "Commands" property to
  1762.   "lasi.exe" and the "Startup Directory" to the drawing directory.
  1763.  
  1764.   The ability to MS-DOS 5 or 6 to load drivers into the upper memory area
  1765.   (640K to 1MB) on a 80386 or 80486 computer should be used to save
  1766.   conventional memory. This will give you more memory for a larger number
  1767.   of LASI objects. If you have some extended memory, even on a 80286
  1768.   computer, you can still gain more memory by installing HIMEM.SYS and
  1769.   putting "DOS=HIGH" in the CONFIG.SYS file.
  1770.  
  1771.   Using DOS's FASTOPEN.EXE can help the drawing speed by reducing the time
  1772.   that LASI takes to swap data in and out, either to RAM disk or hard disk.
  1773.   You should experiment to find which DOS features work best.
  1774.  
  1775.   MS-DOS 6 has a program MEMMAKER.EXE that finds places to move TSR
  1776.   programs out of conventional memory. This should be used if at all
  1777.   possible because it will automatically make more memory available to
  1778.   LASI.
  1779.  
  1780.   If you are using another DOS such as DR-DOS, similar advice applies.
  1781.  
  1782.  Using a RAM Disk
  1783.  
  1784.   Drawing speed can be greatly improved if a RAM disk is used. Cell files
  1785.   that normally would be kept on a hard disk can be placed on a RAM disk by
  1786.   using the MS-DOS VDISK.SYS or RAMDRIVE.SYS drivers, or similar software.
  1787.   LASI will automatically swap cell files to a RAM disk when it draws, and
  1788.   then restore them to the hard disk when it is finished.
  1789.  
  1790.   To use a RAM disk you must first create the RAM disk during DOS bootup
  1791.   time by adding the driver to your CONFIG.SYS file. The RAM disk should be
  1792.   located in extended (or expanded) memory.
  1793.  
  1794.   To have LASI recognize a RAM disk, the "rdisk=" parameter of the FORM.DBD
  1795.   file must be the letter name of the RAM disk. For example, if the RAM
  1796.   disk installs as disk E:, then "rdisk=E:" would be the parameter.
  1797.  
  1798.   If you have no RAM disk installed, set the "rdisk=" parameter to the
  1799.   letter name of your drawing directory disk, or simply leave the "rdisk="
  1800.   parameter blank, since the drawing directory is on the default disk
  1801.   drive.
  1802.  
  1803.   The RAM disk must be large enough to hold all the cell files in a
  1804.   drawing. Computers with a megabyte or more of additional memory above
  1805.   640K are needed for most real work. When creating the RAM disk the
  1806.   driver's parameters must be set to hold both the amount of memory and the
  1807.   number of files expected.
  1808.  
  1809.   When LASI is run, it presently does not erase the RAM disk files. Old
  1810.   files may therefore clutter your RAM disk. Since it is not too hard to
  1811.   erase the wrong disk, possibly your hard disk, it is recommended that you
  1812.   make a batch file (.BAT) to erase the RAM disk when beginning a new
  1813.   drawing, load a mouse driver, if needed, and then run LASI. Of course,
  1814.   whenever you turn off the computer power, the RAM disk is erased anyway.
  1815.  
  1816.   If you do run out of RAM disk space a warning will appear on the screen.
  1817.   LASI will try to preserve your drawing by switching to the hard disk if
  1818.   it finds that the RAM disk is full. Drawing will slow down noticeably in
  1819.   that case. In particular, if the basic objects (boxes, paths and text)
  1820.   are no longer swappable to the RAM disk, you will see the hard disk being
  1821.   accessed if you are drawing a cell that contains other cells. If this
  1822.   happens, you should exit LASI, increase your RAM disk space, if possible,
  1823.   and rerun LASI.
  1824.  
  1825.   Important:  If you do not use a RAM disk, run a disk organizing program
  1826.     such as DISK OPTIMIZER or SPEEDISK from Norton's Utilities on your hard
  1827.     disk often. If cell files become highly fragmented, the drawing time
  1828.     for LASI can become incredibly long. MS-DOS 6 now includes DEFRAG.EXE
  1829.     which is a cut-down version of SPEEDISK. Running any of these programs
  1830.     frequently can greatly improve drawing speed.
  1831.  
  1832.  Using a Disk Cache
  1833.  
  1834.   Installing a software disk caching driver can also speed up the redrawing
  1835.   of cells just as using a RAM disk. The disadvantages are that you will
  1836.   occasionally go to the hard disk if you lose a file from the RAM cache,
  1837.   and you will use more RAM in the DOS program area below 640K unless your
  1838.   cache uses high memory for its manager. The advantage is that you will
  1839.   not have to worry about running out of RAM disk space.
  1840.  
  1841.   Any disk cache driver, such as SMARTDRV from Microsoft, should work.
  1842.   Installing the disk cache in extended memory just as with a RAM disk is
  1843.   preferred, and the cache size should be as large as is needed to get a
  1844.   good hit ratio. If you run Windows, you probably have SMARTDRV already
  1845.   installed, in fact, SMARTDRV.EXE 4.0 that comes with Windows 3.1 is quite
  1846.   good.
  1847.  
  1848.   To use a cache set the "rdisk=" parameter in FORM.DBD to the same drive
  1849.   letter name as your drawing directory or leave it blank.
  1850.  
  1851.   Many of the newer hard disks have caches in their hardware already. You
  1852.   may find that the hardware cache is adequate and that a software cache is
  1853.   not necessary. The best thing to do is to experiment.
  1854.  
  1855.  Using MS-Windows
  1856.  
  1857.   LASI will run under Microsoft's Windows 3.1 as a DOS Application. Each
  1858.   drawing can be setup by first creating a "LASI" Program Group and
  1859.   installing it as a Program Item using the Program Manager. When creating
  1860.   the Item you should enter and appropriate "Description" and a "Command
  1861.   Line" as disk:\LASI4\LASI.EXE, where "disk" is the disk where LASI is
  1862.   installed. You should enter the particular drawing directory as the
  1863.   "Working Directory".
  1864.  
  1865.   Since LASI is a DOS program and is rather computationally intensive, it
  1866.   will run best in Standard Mode, where it will run as a single activity.
  1867.   It probably will not run well in 386 Enhanced Mode, where it may have to
  1868.   share time with other programs. It must always be run as a Full Screen
  1869.   program. It will also be memory limited to DOS's 640K.
  1870.  
  1871.   It helps to install HIMEM.SYS and use only part of any extended RAM for
  1872.   your RAM disk (use RAMDISK.SYS), leaving room for Windows to use part of
  1873.   extended memory for its own use.
  1874.  
  1875.   Installing the disk cache SMARTDRV.SYS can also improve disk speed so
  1876.   that a RAM disk may be unnecessary.  Read the Using RAM Disk topic.
  1877.  
  1878.  
  1879.   LASI is a DOS program with its own graphical interface. Although its
  1880.   displays may not be as elaborate as Windows displays, LASI functions
  1881.   quite a bit faster overall, particularly on slower computers. To those
  1882.   who are happily running LASI under DOS, running it under Windows seems to
  1883.   have little advantage; it in fact wastes memory. You might like to
  1884.   experiment however to see if there are any benefits in your own
  1885.   individual case.
  1886.  
  1887. Command Information
  1888.  
  1889.  
  1890.  Add
  1891.  
  1892.   ADD adds an object to the drawing.
  1893.  
  1894.   ■ The object to be added is set by the OBJ command and is indicated at
  1895.     the bottom of the screen.
  1896.  
  1897.   ■ A box requires two coordinate points at diagonally opposite corners.
  1898.  
  1899.   ■ A path (poly) takes a vertex from each coordinate input.
  1900.  
  1901.   ■ A path adds a new vertex after the first active vertex found in the
  1902.     order in which the path is drawn.
  1903.  
  1904.   ■ A cell is added with its origin at a single coordinate point.
  1905.  
  1906.   The cursor will indicate the adding action that will take place. For
  1907.   boxes, the box outline will be shown in dots. For paths, segments will be
  1908.   previewed as dotted lines. Cells add as a single point.
  1909.  
  1910.  aGet
  1911.  
  1912.   AGET (all get) is a combination of FGET and CGET.
  1913.  
  1914.   ■ This command acts on cells, boxes, paths and text in the same way as
  1915.     those commands.
  1916.  
  1917.   AGET is useful if you are MOVing, CPYing or FLPing large sections of a
  1918.   drawing because you can see just which object are active before the
  1919.   operation, and unlike WGET it will not distort paths.
  1920.  
  1921.  aPut
  1922.  
  1923.   APUT (all put) makes all boxes, paths and cells inactive.
  1924.  
  1925.   ■ This command is for making sure that all objects are inactive.
  1926.  
  1927.   APUT is a handy command to make objects inactive with a single mouse
  1928.   button click.
  1929.  
  1930.  Arc
  1931.  
  1932.   ARC calls the arc generator.
  1933.  
  1934.   Rules for making arcs:
  1935.  
  1936.   ■ An arc is generated starting at the first active vertex found on a
  1937.     path, and is swung around an arc center point to an end point.
  1938.  
  1939.   ■ The radius of the arc is a linear function of the angle and the
  1940.     difference in radius between the start and end points.
  1941.  
  1942.   ■ The center and end points are single coordinate input points.
  1943.  
  1944.   ■ The number of segments and the direction of generation (cw or ccw) must
  1945.     be entered when requested.
  1946.  
  1947.   ■ To start an arc from nothing you must first add a single active vertex
  1948.     and then call the generator. The arc takes its width and layer from the
  1949.     original path object or "arc seed".
  1950.  
  1951.   ■ Arc internal points are added on the nearest unit grid.
  1952.  
  1953.   ■ Arc end points are added on the nearest working grid.
  1954.  
  1955.   Hint:  If you are generating an arc with many vertices, you can speed up
  1956.     the process by pressing ESC or clicking the right mouse button, which
  1957.     causes drawing to be bypassed.
  1958.  
  1959.  Arrows
  1960.  
  1961.   Up, down, left and right arrows pan the drawing window.
  1962.  
  1963.   ■ The drawing window is moved by a certain fraction of its width in the
  1964.     arrow's direction.
  1965.  
  1966.   ■ The display is redrawn.
  1967.  
  1968.   The arrow keys on the keyboard perform this same function to be
  1969.   consistent with other CAD systems.
  1970.  
  1971.   Read DRAW.
  1972.  
  1973.  Attach
  1974.  
  1975.   ATTACH installs a cell from a common cell pool in a drawing's cell
  1976.   collection.
  1977.  
  1978.   ■ ATTACH will first search to find if a cell already exists in the
  1979.     drawing. If one is found you will be ask if you want to continue. If a
  1980.     cell is not found, it will be immediately added to the cell collection.
  1981.  
  1982.   ■ ATTACH will turn a normal cell into an attached cell, but the attached
  1983.     cell must exist in the pool directory.
  1984.  
  1985.   ■ Higher rank cells may be attached but you will only get the boxes, poly
  1986.     and paths of the cell, and the cell will changed to a rank 1 cell.
  1987.  
  1988.   ■ If the "pool=" parameter in FORM.DBD is missing or blank, the ATTACH
  1989.     command will not work.
  1990.  
  1991.   Read the Attached Cells General topic.
  1992.  
  1993.  Cap
  1994.  
  1995.   CAP calls the capacitance calculator.
  1996.  
  1997.   To measure capacitance:
  1998.  
  1999.   1. You first must enter the capacitance units/physical area unit. This
  2000.      will usually be in pF/um2.
  2001.  
  2002.   2. After you enter the capacitance per unit area, all paths with ANY
  2003.      active vertex will be measured automatically, and the total
  2004.      capacitance will be displayed. To compensate for corners, half the
  2005.      width is subtracted from each segment length.
  2006.  
  2007.   3. After all paths are measured, all boxes with ANY active sides will be
  2008.      measured automatically, and the total capacitance of the paths and
  2009.      boxes will be displayed.
  2010.  
  2011.   4. The command will then go into manual mode. Any polygons or areas in
  2012.      cells that should be included in the capacitance can then be manually
  2013.      measured.
  2014.  
  2015.   5. When in manual mode, at the command prompt "[/]", you must fill the
  2016.      area to be measured with rectangular cursor areas by clicking the left
  2017.      mouse button at diagonally opposite corners of the areas.
  2018.  
  2019.   6. An area's capacitance and the sum of previous capacitances will always
  2020.      be displayed at the bottom of the screen.
  2021.  
  2022.   7. To end measuring, click the mouse on any menu button except a window
  2023.      command, or press ESC.
  2024.  
  2025.   Note:  Measured areas are indicated by a lightly dotted fill. To measure
  2026.     an irregular area manually you simply click small rectangular areas
  2027.     until the total area is filled with minimum overlaps.
  2028.  
  2029.   This command may be used as an area parameter calculator. For example,
  2030.   you can calculate the area of an integrated circuit by setting the
  2031.   capacitance per area to 1.
  2032.  
  2033.  cCel
  2034.  
  2035.   CCEL changes any active cells into the specified cell.
  2036.  
  2037.   ■ This command will not work in a rank 1 cell.
  2038.  
  2039.   ■ Attempting to change to an unknown cell or a cell too high in rank will
  2040.     abort the command.
  2041.  
  2042.   Cancel CCEL by pressing ENTER only or ESC.
  2043.  
  2044.  Cell
  2045.  
  2046.   CELL exits Cell Mode or System Mode and (re)enters Cell Mode.
  2047.  
  2048.   From System Mode:
  2049.  
  2050.   ■ You will be asked for a cellname.
  2051.  
  2052.   ■ If a new cellname is not in the cell collection, the rank will also be
  2053.     requested and you will create a new cell.
  2054.  
  2055.   From Cell Mode:
  2056.  
  2057.   ■ The first active cell that is found in the drawing becomes the default
  2058.     cellname, and you will automatically exit and reenter Cell Mode with
  2059.     that cell.
  2060.  
  2061.   ■ If no default cellname is found, you will be asked for one.
  2062.  
  2063.   ■ If a new cellname is not in the cell collection, the rank will also be
  2064.     requested and you will create a new cell.
  2065.  
  2066.   In either mode, press ENTER only or ESC to the cellname or rank question
  2067.   and you will go to System Mode.
  2068.  
  2069.   Note:  You can also enter Cell Mode in two other ways:
  2070.  
  2071.   1. You can use the LIST command and click the left mouse button on the
  2072.      name of a cell.
  2073.  
  2074.   2. You can go directly to a cell from DOS by typing the cellname on the
  2075.      command line after "lasi" when starting the program.
  2076.  
  2077.  cGet
  2078.  
  2079.   CGET (cell get) makes cells active.
  2080.  
  2081.   ■ A cell can be made active in two ways:
  2082.  
  2083.   1. If the rectangular cursor window completely encloses the cell's area,
  2084.      the cell will become active.
  2085.  
  2086.   2. If the left mouse button is double clicked while making the cursor
  2087.      window, a cell will become active if the cells's area overlaps the
  2088.      cursor window. This does not work if the cell is drawn only as an
  2089.      outline.
  2090.  
  2091.   ■ An active cell turns bright white on all layers.
  2092.  
  2093.   ■ An active cell drawn as an outline turns bright white and is filled
  2094.     with dots.
  2095.  
  2096.   ■ There is no dependence on VIEW or OPEN.
  2097.  
  2098.   ■ If a cell is not found in the cursor window a cellname will be asked.
  2099.  
  2100.   CGET only works on the top level of cells and has no effect on boxes,
  2101.   paths or text.
  2102.  
  2103.  Clrs
  2104.  
  2105.   CLRS enters into the Layer Attribute Display and allows the color of a
  2106.   layer to be set.
  2107.  
  2108.   ■ The number of the layer is shown in the layer's color.
  2109.  
  2110.   To exit, press ESC to the "Color Layer" question.
  2111.  
  2112.  Clyr
  2113.  
  2114.   CLYR changes the layer of boxes, paths or text.
  2115.  
  2116.   ■ If the value entered is not 1 through 64, the layer will be reasked.
  2117.  
  2118.   ■ Boxes must have ALL sides active to change layer.
  2119.  
  2120.   ■ Paths must have ANY vertex active to change layer.
  2121.  
  2122.   ■ Text will change layer if active.
  2123.  
  2124.   Read LAYR and TLYR.
  2125.  
  2126.  cMov
  2127.  
  2128.   CMOV (cell move) moves cells directly.
  2129.  
  2130.   ■ A cell can be moved in two ways:
  2131.  
  2132.   1. A cell will be moved if the rectangular cursor window completely
  2133.      encloses the cell's area.
  2134.  
  2135.   2. If the left mouse button is double clicked while making the cursor
  2136.      window, the cell will be moved if the cell's area overlaps the cursor
  2137.      window. This does not work if the cell is drawn only as an outline.
  2138.  
  2139.   ■ The first two cursor points form the cursor window.
  2140.  
  2141.   ■ The next two cursor points determine the distance to be moved.
  2142.  
  2143.   ■ The move part of the command accepts a single PKE distance entry.
  2144.  
  2145.   CMOV only works on the top level of cells and has no effect on boxes and
  2146.   paths.
  2147.  
  2148.  Cntr
  2149.  
  2150.   CNTR centers the drawing window.
  2151.  
  2152.   ■ The new center is a single point input from the mouse or a PKE
  2153.     coordinate entry.
  2154.  
  2155.   ■ The display is redrawn.
  2156.  
  2157.   Read DRAW.
  2158.  
  2159.  Copy
  2160.  
  2161.   COPY allows NORMAL cells to be copied or appended to other NORMAL cells.
  2162.  
  2163.   Rules for COPYing:
  2164.  
  2165.   ■ The source cell must be a NORMAL cell (not attached) in the drawing
  2166.     cell collection.
  2167.  
  2168.   ■ If the destination cell has a NEW NAME, a new cell will be created.
  2169.  
  2170.   ■ If the destination cell already exists, the source cell will be
  2171.     APPENDED to the existing cell.
  2172.  
  2173.   ■ If either the source or destination cells are attached cells, the
  2174.     command will abort.
  2175.  
  2176.   Inter-rank copying is permitted. If the source cell contains cells that
  2177.   have rank equal to or greater than the destination cell, those cells will
  2178.   not be copied. Boxes, paths and text are always copied.
  2179.  
  2180.   Appended objects appear as active objects in the destination cell. This
  2181.   allows you to move the appended parts if they overlay any previous
  2182.   objects.
  2183.  
  2184.   If the source or destination cells are incorrect, or if copying will
  2185.   overflow the maximum number of any objects, the copy operation will be
  2186.   cancelled and a message will be shown.
  2187.  
  2188.   Since COPY may be used to append to existing cells, it may be used as a
  2189.   means to copy parts of one cell into another. This is done by first using
  2190.   the MAKE command to create a temporary cell. Read the MAKE Command Topic.
  2191.  
  2192.   Also read the IMPORT Command Topic.
  2193.  
  2194.  cPut
  2195.  
  2196.   CPUT (cell put) makes cells inactive.
  2197.  
  2198.   ■ This the inverse of CGET, and works the same way.
  2199.  
  2200.   ■ If a cell is not found in the cursor window a cellname will be asked.
  2201.  
  2202.   Read APUT.
  2203.  Cpy
  2204.  
  2205.   CPY copies active objects.
  2206.  
  2207.   ■ The displacement is determined by a 2-point coordinate input.
  2208.  
  2209.   ■ The original objects are made inactive and the copies are made active.
  2210.  
  2211.   ■ Boxes are copied if ALL sides are active.
  2212.  
  2213.   ■ Cells are copied if they are active.
  2214.  
  2215.   ■ Vertices of paths are copied only if they are active. To copy a path
  2216.     completely it must be fully active (use FGET). This feature allows you
  2217.     to copy sections of paths.
  2218.  
  2219.   ■ Text is copied if it is active.
  2220.  
  2221.   ■ CPY accepts a single PKE distance entry.
  2222.  
  2223.   Read STEP.
  2224.  
  2225.  Cut
  2226.  
  2227.   CUT breaks a path into two separate paths at an active vertex.
  2228.  
  2229.   ■ This command works if there is ONLY ONE active vertex.
  2230.  
  2231.   ■ The last vertex at the cut point of the newly created path is made
  2232.     active.
  2233.  
  2234.   Use this command to break paths and polygons into smaller segments to
  2235.   create new constructions, and to make shorter paths and polygons that
  2236.   will be more manageable for translation into other CAD systems.
  2237.  
  2238.  cWth
  2239.  
  2240.   CWTH changes the width of paths and the size of text.
  2241.  
  2242.   ■ Paths with ANY vertex active will change width.
  2243.  
  2244.   ■ Text that is active will change its size to the new width.
  2245.  
  2246.   Read WDTH and TWTH.
  2247.  
  2248.  Dash
  2249.  
  2250.   DASH enters into the Layer Attribute Display and allows the type of dash
  2251.   to be set for a layer.
  2252.  
  2253.   ■ The pattern of the dash number is shown by the sample lines.
  2254.  
  2255.   ■ The dash number of the layer is shown above the corresponding colored
  2256.     layer number.
  2257.  
  2258.   To exit, press ESC to the "Dash Layer" question.
  2259.  
  2260.  Del
  2261.  
  2262.   DEL deletes objects or parts of objects.
  2263.  
  2264.   ■ An object's layer must be VIEWed and OPENed to be deleted.
  2265.  
  2266.   ■ Boxes are deleted if ALL sides are active.
  2267.  
  2268.   ■ Active vertices of paths are deleted.
  2269.  
  2270.   ■ Text is deleted if it is active.
  2271.  
  2272.   ■ Paths with one or no vertices on any layer are deleted.
  2273.  
  2274.   ■ Cells that are active are deleted without regard to the layers that
  2275.     they contain and the setting of the VIEW and OPEN commands.
  2276.  
  2277.   Important:  Before any object is deleted, the hard disk files DSBKUP.BP4
  2278.     and DSBKUP.CL4 are updated. If you make a mistake and delete the wrong
  2279.     thing, you can use the UNDO command to restore the drawing.
  2280.  
  2281.  dGrd
  2282.  
  2283.   DGRD sets the dot grid.
  2284.  
  2285.   ■ The dot grid is in physical units.
  2286.  
  2287.   ■ The dot grid may be any acceptable size and can be toggled on and off
  2288.     with the GRID command.
  2289.  
  2290.   ■ If the grid is smaller than the resolution set by the SET command it
  2291.     will not be drawn.
  2292.  
  2293.   ■ The present dot grid will be shown at the bottom of the screen.
  2294.  
  2295.   Read SET.
  2296.  
  2297.  DOS
  2298.  
  2299.   DOS temporally runs other programs from the DOS command line.
  2300.  
  2301.   ■ At least 64K of memory must be available for this command to work.
  2302.  
  2303.   ■ The DOS command from System Mode makes more memory available than the
  2304.     DOS command from Cell Mode because System Mode deallocates drawing
  2305.     space. If you use too much memory you may get an "Not Available"
  2306.     message.
  2307.  
  2308.   ■ Certain DOS command line operations may be done, DIR for example.
  2309.  
  2310.   ■ Certain small programs may be run if they can load into available
  2311.     memory.
  2312.  
  2313.   DO NOT run LASI utility programs from this command since the drawing
  2314.   information may not be current on the hard disk.
  2315.  
  2316.  Draw
  2317.  
  2318.   DRAW erases the drawing window and redraws the current cell.
  2319.  
  2320.   ■ Drawing of boxes, paths and text takes place in ascending layer order.
  2321.  
  2322.   ■ Lesser cells are drawn starting at the lowest rank and are overlayed
  2323.     upward.
  2324.  
  2325.   ■ The boxes, paths and text of the current cell always overlay all layers
  2326.     of any lesser cells.
  2327.  
  2328.   ■ If during redraw a cell's objects exceed the memory available, or a
  2329.     cell's BP4 or CL4 files are not found, a dotted outline will be
  2330.     substituted for the cell.
  2331.  
  2332.   ■ Paths with widths near the unit grid limit may appear distorted. This
  2333.     is because all drawing points are set in the unit grid.
  2334.  
  2335.   ■ If you try to draw a path or poly with a vertex count exceeding the
  2336.     limits of 250 and 500 respectively, the path or poly may not draw
  2337.     completely or fill correctly, but drawing will fail gracefully.
  2338.  
  2339.   ■ Paths may be drawn with or without a dashed center line. To toggle the
  2340.     center line on and off press the C key. A "C" displayed in the lower
  2341.     right of the screen indicates that center lines are ON.
  2342.  
  2343.   Read the Drawing Speed General topic for useful information.
  2344.  
  2345.  fGet
  2346.  
  2347.   FGET (full get) makes a box or path fully active.
  2348.  
  2349.   ■ A box is made fully active if ANY side is made active.
  2350.  
  2351.   ■ A path is made fully active if ANY vertex is made active.
  2352.  
  2353.   ■ FGET is the same as GET for text.
  2354.  
  2355.   ■ This command allows the entire box or path to be operated upon by any
  2356.     subsequent command if only a part is accessible.
  2357.  
  2358.   If you want to delete a box or path completely use this command first.
  2359.  
  2360.  Fill
  2361.  
  2362.   FILL enters into the Layer Attribute Display and allows the type of fill
  2363.   to be set for a layer.
  2364.  
  2365.   ■ The pattern of the fill number is shown by the sample boxes.
  2366.  
  2367.   ■ The fill number of the layer is shown above the corresponding colored
  2368.     layer number.
  2369.  
  2370.   ■ Boxes, paths and closed polygons will be filled with the chosen fill
  2371.     pattern.
  2372.  
  2373.   ■ The fill of all layers may be temporally turned off by answering "off"
  2374.     to the "Fill Layer" question. Calling FILL again will turn the fill
  2375.     back on.
  2376.  
  2377.   To exit, press ESC to the "Fill Layer" question.
  2378.  
  2379.  Fit
  2380.  
  2381.   FIT sets the size of the drawing window so that it will show all of the
  2382.   objects in a cell.
  2383.  
  2384.   ■ There is no dependence in VIEW or OPEN.
  2385.  
  2386.   ■ The display is redrawn.
  2387.  
  2388.   ■ If there are no objects present, fit will expand the drawing window to
  2389.     the maximum size permitted or the whole "universe".
  2390.  
  2391.   Read DRAW and the Universe General Topic.
  2392.  
  2393.  Flp
  2394.  
  2395.   FLP flips objects.
  2396.  
  2397.   ■ Flipping in either X or Y determined by a 2-point coordinate input.
  2398.  
  2399.   ■ The larger dimension of the cursor input determines the flip axis.
  2400.  
  2401.   ■ The cursor will show the approximate flip axis.
  2402.  
  2403.   ■ Boxes flip if ALL sides are active.
  2404.  
  2405.   ■ ALL vertices of a path flip if ANY vertex is active.
  2406.  
  2407.   ■ Text will flip if active.
  2408.  
  2409.   Note:  FLP and ROT do no commute. That is, the order in which these
  2410.     commands are used is important. Objects FLPed and ROTed in different
  2411.     orders are not the same.
  2412.  
  2413.   Read ROT.
  2414.  
  2415.  Form
  2416.  
  2417.   FORM displays the settings in the FORM.DBD file.
  2418.  
  2419.   ■ The parameters and their variables are shown on the first page.
  2420.  
  2421.   ■ The function key assignments are shown on the next two pages or until
  2422.     there are no more assignments.
  2423.  
  2424.   ■ Press ESC or click the right mouse button to goto the next page.
  2425.  
  2426.   Read the FORM File topic in General Information.
  2427.  
  2428.  fPut
  2429.  
  2430.   FPUT (full put) makes boxes and paths fully inactive.
  2431.  
  2432.   ■ This is the inverse of FGET.
  2433.  
  2434.   ■ A box is made fully inactive if ANY side is made inactive.
  2435.  
  2436.   ■ A path is made fully inactive if ANY single vertex is made inactive.
  2437.  
  2438.   ■ FPUT is the same as PUT for text.
  2439.  
  2440.   Use this command to make fully inactive a box or path when only a part of
  2441.   the box or path is displayed.
  2442.  
  2443.  Full
  2444.  
  2445.   FULL removes cells from being drawn as an outline.
  2446.  
  2447.   ■ Cells are changed from being drawn as an outline if a cell's area is
  2448.     completely enclosed by the rectangular cursor window.
  2449.  
  2450.   ■ If a cell is not found in the cursor window a cellname will be asked.
  2451.  
  2452.   Read OUTL.
  2453.  
  2454.  Get
  2455.  
  2456.   GET makes single parts of boxes and paths active.
  2457.  
  2458.   ■ The layer must be VIEWed and OPENed.
  2459.  
  2460.   ■ Box sides are made active if they pass anywhere within the rectangular
  2461.     cursor window.
  2462.  
  2463.   ■ Path vertices are made active if they are within the cursor window.
  2464.  
  2465.   ■ Text is made active if its reference point is in the cursor window.
  2466.  
  2467.   When made active:
  2468.  
  2469.   ■ Box sides turn bright white.
  2470.  
  2471.   ■ Vertices are marked and segments of paths that will move as a unit turn
  2472.     bright white.
  2473.  
  2474.   ■ Text turns bright white.
  2475.  
  2476.   GET is the default command when LASI is started.
  2477.  
  2478.  Grid
  2479.  
  2480.   GRID toggles the dot grid on and off.
  2481.  
  2482.   ■ The menu button intensifies to indicate that the grid is on.
  2483.  
  2484.   ■ The dot grid will not be drawn if the spacing is less that the drawing
  2485.     resolution set using the SET command.
  2486.  
  2487.   Read SET and DGRD.
  2488.  
  2489.  Hcpy
  2490.  
  2491.   HCPY expands the screen and calls a hardcopy program that makes a bitmap
  2492.   copy of the screen on a printer or to a file.
  2493.  
  2494.   When HCPY is called the screen will redraw to full size. The system will
  2495.   wait for a key to be pressed:
  2496.  
  2497.   ■ Press ENTER if you want to add the name, date and time to the screen
  2498.     and start a hardcopy.
  2499.  
  2500.   ■ Press CTRL-ENTER if you want to make a hardcopy of the screen without
  2501.     the name, date and time.
  2502.  
  2503.   ■ Press ESC anytime if you want to abort hardcopying.
  2504.  
  2505.   Note:  At least 64K of remaining memory is necessary to run a hardcopy
  2506.     program. If there isn't, the hardcopy will not execute and you will
  2507.     return to LASI Cell Mode.
  2508.  
  2509.   Read the Hardcopy General topic.
  2510.  
  2511.  Info
  2512.  
  2513.   INFO identifies an active object or gives drawing information.
  2514.  
  2515.   ■ Objects are taken in the order: box/path/cell.
  2516.  
  2517.   ■ Only the first active object found is reported.
  2518.  
  2519.   ■ For a box the layer is shown.
  2520.  
  2521.   ■ For a path the layer and the width are shown.
  2522.  
  2523.   ■ For text the layer and size are shown.
  2524.  
  2525.   ■ For a cell the name, number, position and orientation are shown.
  2526.  
  2527.   ■ No active object gives a parts count of the current cell and tells the
  2528.     amount of memory that is still free.
  2529.  
  2530.   Read SHOW.
  2531.  
  2532.  Import
  2533.  
  2534.   IMPORT allows ATTACHED cells to be brought into a drawing as NORMAL
  2535.   cells.
  2536.  
  2537.   Rules for IMPORTing:
  2538.  
  2539.   ■ The source must be an ATTACHED cell in the drawing cell collection.
  2540.  
  2541.   ■ If the destination cell has the SAME NAME as the source cell, the cell
  2542.     becomes a NORMAL cell and replaces all occurrences of its use in all
  2543.     other cells.
  2544.  
  2545.   ■ If the destination cell has a NEW NAME, a NEW NORMAL cell will be
  2546.     created with the new name.
  2547.  
  2548.   ■ The destination will always become a rank 1 cell.
  2549.  
  2550.   ■ If the source cell is not attached, the destination cell is already
  2551.     present or is an attached cell with a different name, the command will
  2552.     be aborted.
  2553.  
  2554.   ■ Cells never export back to the pool.
  2555.  
  2556.   If imported to the SAME NAME, a BP4 file will be copied from the pool to
  2557.   the drawing directory. You would use this procedure if you want to
  2558.   replace all occurrences of an attached cell in other cells with a normal
  2559.   cell that may be modified. You can then RENAM the normalized cell, and
  2560.   ATTACH the original cell again to make other modified versions.
  2561.  
  2562.   If the destination has a NEW NAME, a new normal cell will be created and
  2563.   the attached cell will remain unaffected. You can then modify the new
  2564.   cell and use it where desired.
  2565.  
  2566.   Notice that the difference between these two procedures is that in the
  2567.   first procedure the attached cell is replaced automatically wherever it
  2568.   is used. In the second procedure you generate an independent cell and you
  2569.   must replace any occurrences of the attached cell individually.
  2570.  
  2571.   If the source or destination cells are incorrect, or if importing will
  2572.   overflow the memory available, the import operation will be cancelled and
  2573.   a message will be shown.
  2574.  
  2575.   Read the COPY Command topic.
  2576.  
  2577.  Join
  2578.  
  2579.   JOIN connects two paths head to tail to form a new single path.
  2580.  
  2581.   Rules for JOINing:
  2582.  
  2583.   ■ This command works only if there are exactly two active vertices which
  2584.     are the beginning and end of a path.
  2585.  
  2586.   ■ If the active vertices are beginning and end of the same path and the
  2587.     path is not already closed, a segment will be added to close the path
  2588.     and both vertices will be made inactive.
  2589.  
  2590.   ■ If the active vertices are beginning and end of different paths and the
  2591.     vertices are at the same location, the paths will be merged into a
  2592.     single path, one vertex will be deleted, and one vertex will be made
  2593.     inactive.
  2594.  
  2595.   ■ If the active vertices are beginning and end of different paths and the
  2596.     vertices are at different locations, a segment will be added, the paths
  2597.     will be merged into a single path, and both vertices will be made
  2598.     inactive.
  2599.  
  2600.   Use this command to condense paths to reduce data, and to make closed
  2601.   polygons out of open polygon segments.
  2602.  
  2603.  Kill
  2604.  
  2605.   KILL removes a cell from the drawing
  2606.  
  2607.   ■ Cells are removed from the drawing's cell collection.
  2608.  
  2609.   ■ KILLed cells are removed from any other cells.
  2610.  
  2611.   ■ The cell internal files at the DOS system level are erased.
  2612.  
  2613.   Important:  It is recommended that you keep an archive of your cells
  2614.     using the TLCOUT.EXE utility program. This is the only way that you can
  2615.     recover a cell that has been accidentally KILLed.
  2616.  
  2617.  Layr
  2618.  
  2619.   LAYR sets the layer of boxes or paths to be ADDed.
  2620.  
  2621.   ■ If the value entered is not 1 through 64, the layer will be reasked.
  2622.  
  2623.   Read CLYR.
  2624.  
  2625.  List
  2626.  
  2627.   LIST lists the cells in the cell collection.
  2628.  
  2629.   ■ This command appears in both System and Cell Modes.
  2630.  
  2631.   ■ The mouse will also be active and the cursor can be positioned on the
  2632.     name of any of the cells listed. If the left mouse button is clicked on
  2633.     the cellname, Cell Mode will be entered for that cell.
  2634.  
  2635.   ■ If the left mouse button is clicked in a location that will not select
  2636.     a cell, it will be ignored.
  2637.  
  2638.   ■ Pressing ESC or clicking the right mouse button will step to the next
  2639.     page or will exit to the present mode.
  2640.  
  2641.   ■ Attached cell names appear in red in the cell list.
  2642.  
  2643.   The list of cells has a history feature. The number that appears in front
  2644.   of a cellname indicates the inverse order in which the cells were last
  2645.   opened. That is, number 1 is the last cell you worked on, number 2 the
  2646.   second to last, and so on. This allows you to go through a sequence of
  2647.   deeply nested cells, and then randomly return to a higher ranked cell.
  2648.  
  2649.   Rules for cell history:
  2650.  
  2651.   ■ If a cell is opened again, previous events for that cell are purged
  2652.     from the history.
  2653.  
  2654.   ■ An asterisk indicates the current cell.
  2655.  
  2656.   Hint:  LIST is the fastest way to change from cell to cell because you
  2657.     don't have to type or even precisely remember a cellname.
  2658.  
  2659.  Make
  2660.  
  2661.   MAKE makes a new cell from the active cells, boxes, paths and text.
  2662.  
  2663.   Rules for MAKE:
  2664.  
  2665.   ■ Boxes, paths and text are copied if ANY part is active.
  2666.  
  2667.   ■ The rank of the new cell will be one higher than the highest rank of
  2668.     any active cells.
  2669.  
  2670.   ■ The name must not already be in the cell collection. If it is, the
  2671.     prompt will be reasked. No name at all or ESC will cancel MAKE.
  2672.  
  2673.   Note:  When MAKE makes a new cell it first determines the area or outline
  2674.     of the current cell on which you are working. It then uses this area as
  2675.     the area of the new cell. It also uses the current origin as the origin
  2676.     of the new cell. Normally, you will enter into Cell Mode with the new
  2677.     cell and reposition the origin with the ORIG command. When Cell Mode is
  2678.     then exited the correct area will be recalculated.
  2679.  
  2680.   Hint:  When MAKE is used to create a new cell, its name is at the end of
  2681.     the cell list. Use LIST to go to the new cell to make any changes.
  2682.  
  2683.  
  2684.   MAKE can be used to copy all or part of one cell to another cell. First
  2685.   make a temporary cell and then go to System Mode and COPY the temporary
  2686.   cell to the destination cell. When you enter the destination cell the you
  2687.   will find the temporary cell appended to it. You can later KILL the
  2688.   temporary cell. Notice that you are in effect placing all or part of a
  2689.   cell on a "clipboard" and then inserting the objects on the clipboard
  2690.   into another cell. This is a common procedure used with many types of
  2691.   data exchange.
  2692.  
  2693.  Mov
  2694.  
  2695.   MOV moves the active sides of boxes, active vertices, active text and
  2696.   active cells.
  2697.  
  2698.   ■ The distance is determined from a 2-point coordinate input.
  2699.  
  2700.   ■ The cursor will show the approximate move.
  2701.  
  2702.   ■ MOVs are always done in multiples of the working grid, unless you press
  2703.     the A or ALT keys to switch to the unit grid.
  2704.  
  2705.   ■ MOV accepts a single PKE distance entry.
  2706.  
  2707.   Read WMOV, QMOV and CMOV.
  2708.  
  2709.  Obj
  2710.  
  2711.   OBJ sets the name or type of object to be added.
  2712.  
  2713.   ■ Responding with "b" will make boxes and "p" will make paths.
  2714.  
  2715.   ■ For adding a cell give the NAME of the cell.
  2716.  
  2717.   Note:  Boxes, paths and cells are treated equally as far as adding is
  2718.     concerned. However, boxes, paths and text are "basic" objects while
  2719.     cells are compound objects. Generally, there are different commands for
  2720.     these different types of objects.
  2721.  
  2722.  Octo
  2723.  
  2724.   OCTO is a toggle that enables octagonal cursor mode on certain commands.
  2725.  
  2726.   ■ The menu button intensifies to indicate that octagonal mode is on.
  2727.  
  2728.   ■ When octagonal mode is on, the cursor movement vector is snapped to the
  2729.     nearest 45 degrees. The commands ADD (for paths), MOV, WMOV, QMOV, CMOV
  2730.     and CPY are affected.
  2731.  
  2732.   This command is used to restrict drawing so that only 45 and 90 degree
  2733.   angles are allowed, which preserves drawing neatness and conforms to
  2734.   certain physical artwork generation requirements.
  2735.  
  2736.  Open
  2737.  
  2738.   OPEN sets the layers that can have their boxes, paths and text made
  2739.   active.
  2740.  
  2741.   ■ Boxes, paths and text that are not OPENed are blocked from the GET,
  2742.     FGET, WMOV, QMOV, PBEG and PEND commands.
  2743.  
  2744.   ■ Cell commands like CGET, CPUT or CMOV are not affected.
  2745.  
  2746.   VIEW and OPEN accept layer inputs that can be single layers in any order,
  2747.   or a dash (-) can be used to indicate all inclusive layers between the
  2748.   end layers. A dash alone will give all layers from 1 to 64.
  2749.  
  2750.  Orig
  2751.  
  2752.   ORIG relocates the coordinates of all objects in a cell drawing so that
  2753.   the single cursor input point is the 0,0 position.
  2754.  
  2755.   ■ This command allows objects to be constructed almost anywhere on the
  2756.     drawing window and then be repositioned as desired.
  2757.  
  2758.   ■ The working grid is the default grid, but may be changed to the unit
  2759.     grid with the A or ALT keys.
  2760.  
  2761.   Set you cell origin as soon as you make a cell, or you may have to
  2762.   relocate the cell each time it is used in higher ranking cells.
  2763.  
  2764.  Outl
  2765.  
  2766.   OUTL sets cells to draw as an outline.
  2767.  
  2768.   ■ A cell can be turned into an outline in two ways:
  2769.  
  2770.   1. Cells are changed to outlines if a cell's area is completely enclosed
  2771.      by the rectangular cursor window.
  2772.  
  2773.   2. If the mouse is double clicked while making the cursor window, cells
  2774.      will be outlined if the cell's area overlaps the cursor window.
  2775.  
  2776.   ■ An outlined cell will be drawn as a white rectangle with the name of
  2777.     the cell in text in the lower left corner. An active cell in outline
  2778.     will be drawn as a bright white rectangle filled with dots.
  2779.  
  2780.   ■ The cell's name can be toggled on and off by pressing the N key. An "N"
  2781.     displayed in the lower right of the screen indicates that names are ON.
  2782.  
  2783.   ■ If a cell is not found in the cursor window a cellname will be asked.
  2784.  
  2785.   You can greatly speed up an overall redraw by setting the cells in an
  2786.   region where you are not currently working to outline. When a cell is set
  2787.   to outline, retrieval of the cell's files from a disk is unnecessary and
  2788.   drawing the internal parts of a cell is skipped.
  2789.  
  2790.   Read FULL.
  2791.  
  2792.  OvSz
  2793.  
  2794.   OVSZ expands the sides of boxes, paths and closed poly by a certain
  2795.   distance.
  2796.  
  2797.   Rules for OVSZing:
  2798.  
  2799.   ■ A negative distance shrinks the sides.
  2800.  
  2801.   ■ Only active box sides are oversized.
  2802.  
  2803.   ■ All sides of paths or closed polygons are oversized if ANY vertex is
  2804.     active.
  2805.  
  2806.   ■ The oversizing algorithm used must identify a polygon as having a
  2807.     rotational angle of +/-360 deg. If this cannot be done, the poly will
  2808.     be unchanged.
  2809.  
  2810.   ■ If a poly contains adjacent sides that are folded back 180 deg on each
  2811.     other, the results will be undefined since the direction of folding
  2812.     cannot be identified.
  2813.  
  2814.   Note:  Acute angles on closed poly are not oversized correctly. You need
  2815.     to insert an additional vertex at an acute angle to prevent the peak of
  2816.     an acute angle from extending beyond the oversize distance.
  2817.  
  2818.   Read PSIZ.
  2819.  
  2820.  pBeg
  2821.  
  2822.   PBEG makes the first vertex of a path active.
  2823.  
  2824.   ■ This command works if ANY vertex of a path falls within the rectangular
  2825.     cursor window.
  2826.  
  2827.   ■ PBEG is useful when the JOIN command is to be used.
  2828.  
  2829.   Read PEND.
  2830.  
  2831.  pEnd
  2832.  
  2833.   PEND makes the last vertex of a path active.
  2834.  
  2835.   ■ This command works if ANY vertex of a path falls within the rectangular
  2836.     cursor window.
  2837.  
  2838.   ■ This command is useful both to find the end of a path and to reopen a
  2839.     closed path.
  2840.  
  2841.   Read PBEG.
  2842.  
  2843.  Plot
  2844.  
  2845.   PLOT calls the plotting program.
  2846.  
  2847.   ■ A plot will be made of the last cell as it was shown in the drawing
  2848.     window.
  2849.  
  2850.   ■ The drawing window center X,Y and width, and the cellname are passed to
  2851.     the plotting program.
  2852.  
  2853.   ■ The plotting program is named in the FORM "plot=" parameter.
  2854.  
  2855.   ■ Presently, the only plotting program is LASI2PGL.EXE.
  2856.  
  2857.   It is possible that you will not have enough contiguous memory available
  2858.   to run a plot program from LASI. If this happens, the program will not
  2859.   execute and you will return to LASI. To remedy this situation, either add
  2860.   more RAM, if possible, and remove or move to high memory any unnecessary
  2861.   resident programs (TSRs), if they are being kept in conventional memory .
  2862.   If this fails, run the plotting program by itself.  Read the HPGL
  2863.   Conversion help category for how to do this.
  2864.  
  2865.  pRev
  2866.  
  2867.   PREV reverses the order of the vertices in a path.
  2868.  
  2869.   ■ ALL paths that have ANY active vertex will be reversed.
  2870.  
  2871.   ■ The original active vertex remains active.
  2872.  
  2873.   Reversing the order allows vertices to be added to either the beginning
  2874.   or end of a path. It also allows paths to be JOINed properly.
  2875.  
  2876.  pSiz
  2877.  
  2878.   PSIZ changes the size of a path while still preserving its shape.
  2879.  
  2880.   ■ The multiplier is 1 for no change, and can be any number that will not
  2881.     cause the path to overflow the drawing area.
  2882.  
  2883.   ■ The geometric center of the path is kept constant.
  2884.  
  2885.   ■ If a small path is resized or if it is made too small, it may change
  2886.     shape due to the limited resolution of the unit grid.
  2887.  
  2888.   ■ PSIZ acts on paths that have ANY vertex active.
  2889.  
  2890.   Use PSIZ to make different sizes of complex polygon figures such as
  2891.   symbols or lettering.
  2892.  
  2893.   Read OVSZ.
  2894.  
  2895.  Put
  2896.  
  2897.   PUT makes single parts of boxes and paths inactive.
  2898.  
  2899.   ■ This is the inverse of GET and works the same way.
  2900.  
  2901.   Read FPUT and APUT.
  2902.  
  2903.  qMov
  2904.  
  2905.   QMOV (quick move) functions like the sequence GET, MOV, PUT.
  2906.  
  2907.   ■ This command works on box sides that pass through the cursor window,
  2908.     and on vertices or text reference points that are enclosed by the
  2909.     cursor window.
  2910.  
  2911.   ■ Box and path layers must be VIEWed and OPENed.
  2912.  
  2913.   ■ The move part of this command accepts a single PKE distance entry.
  2914.  
  2915.   QMOV is useful for making small vertex movements and small box side
  2916.   movements when the path or box is only partly accessible.
  2917.  
  2918.   Read WMOV.
  2919.  
  2920.  Quit
  2921.  
  2922.   QUIT exits from the LASI drawing system to DOS.
  2923.  
  2924.   ■ All current information about the drawing is saved on the hard disk in
  2925.     the drawing directory.
  2926.  
  2927.   ■ The condition of DOS when LASI was entered is restored.
  2928.  
  2929.   The drawing may be reentered by running LASI.EXE again. However, the
  2930.   cells that may have been stored on a RAM disk will be unknown to LASI and
  2931.   will have to be relearned by drawing them once.
  2932.  
  2933.   CTRL-END has the same effect as QUIT.
  2934.  
  2935.  ReNam
  2936.  
  2937.   RENAM changes the name of a cell.
  2938.  
  2939.   ■ Cellnames must conform to DOS filename rules.
  2940.  
  2941.   ■ This command will not work if the new name is the name of a cell that
  2942.     already exists in the cell collection or is a reserved name such as "b"
  2943.     or "p".
  2944.  
  2945.   To give a cell another cell's name in a cell collection, you must first
  2946.   RENAM or KILL the original cell and then RENAM the cell.
  2947.  
  2948.  Res
  2949.  
  2950.   RES calls the resistance calculator.
  2951.  
  2952.   To measure resistance:
  2953.  
  2954.   1. You first must enter the sheet resistance in resistance units/square.
  2955.      This will usually be ohms/square.
  2956.  
  2957.   2. You will next be asked for the End Compensation. This is the number of
  2958.      squares to be added or subtracted to compensate for any effects of
  2959.      resistor heads. This depends on how you draw your resistors and can be
  2960.      a fractional number.
  2961.  
  2962.   3. After you enter the sheet resistance, if a path with ANY active vertex
  2963.      is found, the path will be automatically traced from beginning to end
  2964.      and the total resistance will be displayed. To compensate for corners,
  2965.      half the width is always subtracted from each segment length.
  2966.  
  2967.   4. After a SINGLE path is measured the command will enter manual mode.
  2968.  
  2969.   5. If no path has been found, you will have to manually enter the
  2970.      resistor width, otherwise, the path width is taken as the resistor
  2971.      width.
  2972.  
  2973.   6. In manual mode, at the "<-->" command prompt, the width of the
  2974.      resistor must be measured by a 2-point coordinate input or a single
  2975.      PKE distance entry.
  2976.  
  2977.   7. At the command prompt "R-->", you can then calculate resistance by
  2978.      making 2-point coordinate distance measurements along the length of a
  2979.      resistor. The distance will be displayed by a dashed line, and the
  2980.      incremental resistance and the total resistance will be displayed at
  2981.      the bottom of the screen.
  2982.  
  2983.   8. To end measuring, click the mouse on any menu button except a window
  2984.      command, or press ESC.
  2985.  
  2986.   Note:  To automatically measure a path, it must be a path in the present
  2987.     cell. Paths that are visible but are part of a cell within the present
  2988.     cell must still be manually measured.
  2989.  
  2990.   This command can be used as a ratio parameter calculator. For example, to
  2991.   measure a MOS gate size, set the sheet resistance to 1. Measure the gate
  2992.   width as the resistor width and the gate length as the resistor length.
  2993.  
  2994.  rDrw
  2995.  
  2996.   RDRW redraws the drawing with the layers in descending order.
  2997.  
  2998.   ■ The drawing order rules for lesser cells of DRAW apply to RDRW.
  2999.  
  3000.   This command is useful if you want to overlay fills so that objects that
  3001.   would normally be covered by objects on higher layers remain visible.
  3002.  
  3003.   Read DRAW.
  3004.  
  3005.  Rot
  3006.  
  3007.   ROT rotates objects.
  3008.  
  3009.   ■ Rotation is around a single cursor input point.
  3010.  
  3011.   ■ Boxes, text and cells rotate +/-90, 180 deg.
  3012.  
  3013.   ■ Paths rotate through any angle.
  3014.  
  3015.   ■ Boxes rotate if ALL sides are active.
  3016.  
  3017.   ■ ALL vertices of a path rotate if ANY vertex is active.
  3018.  
  3019.   ■ Text and cells rotate if they are active.
  3020.  
  3021.   Note:  Sometimes a rotated path may not be exactly identical to an
  3022.     original if it has been rotated and then rotated back. This is caused
  3023.     by rounding coordinates to the unit grid each time a rotation takes
  3024.     place.
  3025.  
  3026.   Read FLP.
  3027.  
  3028.  Rstr
  3029.  
  3030.   RSTR restores a drawing window.
  3031.  
  3032.   ■ RSTR does not accept keyboard entries in the usual way, that is,
  3033.     terminated by ENTER. It requires only a number key to be pressed.
  3034.  
  3035.   ■ Only the keys 0-9 will execute the command, otherwise the window number
  3036.     will be reasked.
  3037.  
  3038.   ■ Window 0 is always the previous window.
  3039.  
  3040.   ■ Windows 1-9 should have been saved using the SAVE command.
  3041.  
  3042.   ■ The restored drawing window is immediately redrawn.
  3043.  
  3044.   ■ Press ESC to abort RSTR.
  3045.  
  3046.   Note:  RSTR has a LAST WINDOW FEATURE. Whenever a window is changed, the
  3047.     previous window remembered. Reclicking the right mouse button will
  3048.     cause the original window to be restored.
  3049.  
  3050.  Save
  3051.  
  3052.   SAVE saves a drawing window.
  3053.  
  3054.   ■ The windows are numbered 1-9.
  3055.  
  3056.   ■ SAVE does not accept keyboard entries in the usual way, that is,
  3057.     terminated by ENTER. It requires only a number key to be pressed.
  3058.  
  3059.   ■ Only the keys 1-9 are acceptable window numbers, otherwise, the window
  3060.     number will be reasked.
  3061.  
  3062.   ■ Press ESC to abort SAVE.
  3063.  
  3064.   The windows saved are global, that is they are independent of the Cell
  3065.   Mode rank that you are in. The windows are stored in the CONSTS4.DBD file
  3066.   when you quit LASI, and are returned when you rerun the program.
  3067.  
  3068.  Scale
  3069.  
  3070.   SCALE is used to set the name of the physical scale units of the drawing
  3071.   and the number of basic units per physical unit.
  3072.  
  3073.   Rules for setting scales:
  3074.  
  3075.   ■ The scale units name can be anything, but for integrated circuits "um"
  3076.     and "mil" are preferred because some utility programs use these units.
  3077.  
  3078.   ■ Only the first 5 characters will be accepted for the scale name.
  3079.  
  3080.   ■ The number of basic units per physical unit will usually be an integer
  3081.     greater than 1, but fractional scales are permitted.
  3082.  
  3083.   The scale that is set by this command really only relates the basic units
  3084.   in which a drawing is internally done to the inputs that you give to
  3085.   certain questions and to dimensions that you see externally. All inputs
  3086.   and outputs are converted by the scale to and from basic units.
  3087.  
  3088.   When setting up a scale, you should determine the maximum size that your
  3089.   drawing could be and then set your scale so that the maximum number of
  3090.   basic units (65536) is slightly larger than that size. For example, a
  3091.   typical integrated circuit will fit in 16 mm, which would result from
  3092.   using a scale of 4 basic units/micron, or .25um drawing resolution.
  3093.  
  3094.  Set
  3095.  
  3096.   SET allows you to change certain parameters and the actions of certain
  3097.   commands.
  3098.  
  3099.   Presently 5 parameters can be set:
  3100.  
  3101.   1. The resolution of the drawing can be set.
  3102.  
  3103.        Resolution = size of drawing window / minimum size of figure.
  3104.  
  3105.   Resolution affects the following:
  3106.  
  3107.   ∙ Boxes are not drawn if both dimensions are less than the minimum size.
  3108.  
  3109.   ∙ Paths or poly are not drawn if the distance from the minimum vertex to
  3110.     the maximum vertex in both dimensions is less than the minimum size.
  3111.  
  3112.   ∙ Paths are drawn as lines if their width is less than the minimum size.
  3113.  
  3114.   ∙ Text is not drawn if its size (height) is less than the minimum size.
  3115.  
  3116.   ∙ The dot grid is not draw if its spacing is less than the minimum size.
  3117.  
  3118.   Note:  Normally, a resolution of 200-500 is about right for standard VGA.
  3119.     Usually there is no need to make the resolution greater than the number
  3120.     of pixels across the drawing window. Occasionally, some small figures
  3121.     may disappear if the resolution is too low. If this is a problem set
  3122.     the resolution higher.
  3123.  
  3124.   2. The text spacing ratio can be set. This is the fraction of the size of
  3125.      text characters with which the characters are spaced. The value is
  3126.      clamped between .5 and 2.
  3127.  
  3128.   3. The number of "ticks" that determine the mouse button double click
  3129.      interval can be set. The number is an integer and is clamped between 0
  3130.      and 32767.
  3131.  
  3132.   4. The Auto Sort Time, the time before an automatic SORT and backup takes
  3133.      place can be set. The time can be from 1 to 32767 minutes.
  3134.  
  3135.   5. The number of working grids that you intend to use can be set so that
  3136.      you won't have to step through extra working grids with the WGRD
  3137.      command.
  3138.  
  3139.   6. The size of the working grids in physical units can be set. You must
  3140.      enter all the grids, but pressing ENTER or ESC keeps the default value
  3141.      in the parentheses.
  3142.  
  3143.   Press ESC to exit SET anywhere in the sequence.
  3144.  
  3145.  Show
  3146.  
  3147.   SHOW gives information about an object.
  3148.  
  3149.   In System Mode, SHOW gives the following information about a cell:
  3150.  
  3151.   ■ The cell's rank, number in the cell collection and if it is attached.
  3152.  
  3153.   ■ The cell's outline boundaries as found in the cell collection list.
  3154.  
  3155.   ■ The number of cells, boxes, paths and vertices in the cell.
  3156.  
  3157.   ■ A listing of the named cell's lesser cells.
  3158.  
  3159.   ■ The number of boxes and paths (including text) on the layers.
  3160.  
  3161.   In Cell Mode, SHOW gives information on the first active object that it
  3162.   finds in the order. box/path/cell:
  3163.  
  3164.   ■ For a box, the positions of the sides and the layer are shown.
  3165.  
  3166.   ■ For a path, the vertex positions, the layer, the width and an active
  3167.     vertex mark "*" are shown.
  3168.  
  3169.   ■ For text, the reference point, the layer, the size and the characters
  3170.     will be shown.
  3171.  
  3172.   ■ For a cell, the information is similar to the System Mode SHOW, but
  3173.     also includes the position and orientation of the cell.
  3174.  
  3175.   ■ No active object gives a parts count of the current cell.
  3176.  
  3177.   Press ESC or click the right mouse button to continue or exit from SHOW.
  3178.  
  3179.  Smsh
  3180.  
  3181.   SMSH smashes any active cells, text or boxes into their component objects
  3182.   and adds them to the current cell. The original active objects are
  3183.   deleted.
  3184.  
  3185.   Rules for SMSHing:
  3186.  
  3187.   ■ Cells are smashed down one rank at a time. You may have to do multiple
  3188.     smashes if you want to reduce higher rank cells all the way to boxes,
  3189.     paths and text.
  3190.  
  3191.   ■ Text is smashed into poly objects that replace the original text. These
  3192.     poly are the same as any other poly, and may be rotated to any angle or
  3193.     given width to make paths. Smashing text can increase the number of
  3194.     paths and vertices considerably if you are not careful.
  3195.  
  3196.   ■ Boxes must have all sides active. A box will be replaced by a five
  3197.     vertex polygon with the same dimensions.
  3198.  
  3199.   Note:  If you try to SMSH any object that will cause any of your object
  3200.     limits to be exceeded, or if you run out of memory, the object will not
  3201.     be smashed but will remain intact and active. You will get a message
  3202.     for each object component that cannot be added. If you are smashing
  3203.     text or boxes you may get a partial poly conversion, but the original
  3204.     object will remain.
  3205.  
  3206.   Important:  Before any object is smashed, the hard disk files DSBKUP.BP4
  3207.     and DSBKUP.CL4 are updated. If you make a mistake and smash the wrong
  3208.     thing, you can use the UNDO command to restore the drawing.
  3209.  
  3210.  Sort
  3211.  
  3212.   SORT cleans, sorts and stores a backup of the drawing.
  3213.  
  3214.   ■ Boxes which have two or more sides superimposed are deleted.
  3215.  
  3216.   ■ Sequential vertices with the same coordinates are deleted.
  3217.  
  3218.   ■ Paths with one or no vertices are deleted.
  3219.  
  3220.   ■ Any cells that may for some reason have rank greater or equal to the
  3221.     current cell will be deleted.
  3222.  
  3223.   ■ Boxes, paths and text are sorted in ascending order of their layers and
  3224.     their Y-position.
  3225.  
  3226.   ■ Cells are sorted according to their Y-position and their order in the
  3227.     CELLS4.DBD file.
  3228.  
  3229.   ■ BP4 and CL4 files of the current cell are updated on the hard disk.
  3230.  
  3231.   ■ The backup files SORTBKUP.BP4 and SORTBKUP.CL4 are updated on the hard
  3232.     disk. If the UNDO command is used, these may be used to restore the
  3233.     cell to what it was when the last sort was done.
  3234.  
  3235.   ■ You may stop a long sort by pressing the SPACE bar. Eventually, when
  3236.     objects are in good order, sorting will be fast.
  3237.  
  3238.   Note:  The SORT command will be executed automatically if you do not
  3239.     click either mouse button before the Auto Sort Time times out. This
  3240.     feature protects your drawing if you leave it unattended.
  3241.  
  3242.   Hint:  Sorting should be done periodically while working on a drawing.
  3243.     This not only cleans any defective objects, but also improves drawing
  3244.     speed by ordering the cells.
  3245.  
  3246.  Step
  3247.  
  3248.   STEP steps active objects into an Nx by Ny two-dimensional array.
  3249.  
  3250.   ■ Nx and Ny are presently limited to 1024 max.
  3251.  
  3252.   ■ Stepping distances in X and Y are determined by a 2-point coordinate
  3253.     input. This may also be entered as a single PKE distance entry.
  3254.  
  3255.   ■ The original active objects are copied repeatedly just as though the
  3256.     CPY command was used. The final copied objects remain active, while all
  3257.     previous copies become inactive.
  3258.  
  3259.   ■ Stepping can be ended by pressing the SPACE bar.
  3260.  
  3261.   Note:  Care should be used with this command because you can easily fill
  3262.     up your cell's object capacity if you don't watch your numbers. If this
  3263.     happens press SPACE to end stepping.
  3264.  
  3265.  Sys
  3266.  
  3267.   SYS exits directly from Cell Mode to System Mode.
  3268.  
  3269.   ■ All active objects are made inactive.
  3270.  
  3271.   ■ The current cell is saved on the hard disk in the drawing directory.
  3272.  
  3273.   Note:  Any cells that may have been put on a RAM disk remain known to
  3274.     LASI when you go to System Mode. You lose these only when you QUIT.
  3275.  
  3276.  Text
  3277.  
  3278.   TEXT generates a text object.
  3279.  
  3280.   To generate text you must provide the following:
  3281.  
  3282.   1. The reference point, a single coordinate input point, which is the
  3283.      lower left corner of the character field where the first text
  3284.      character is to be placed.
  3285.  
  3286.   2. The text character string of up to 40 characters terminated by ENTER.
  3287.  
  3288.   The string of text should appear in the drawing made from polygons. The
  3289.   layer and size of the characters will be taken from the current TLYR and
  3290.   TWTH settings. The CLYR and CWTH commands may be used to change the text
  3291.   layer and size.
  3292.  
  3293.   Text Properties:
  3294.  
  3295.   ■ Text is always left justified and appears on a single line. There is no
  3296.     text editor, so you must delete and rewrite any text.
  3297.  
  3298.   ■ You can make the text active using the GET or FGET commands.
  3299.  
  3300.   ■ You may copy, rotate, flip and move the text using the CPY, ROT, FLP
  3301.     and the several types of move commands.
  3302.  
  3303.   ■ Text size will always be in integral multiples of 15 basic units. This
  3304.     is to prevent distortion of the characters.
  3305.  
  3306.   ■ A text object is seen by LASI as a single point, the reference point.
  3307.     To operate on a text object, the reference point must fall within any
  3308.     cursor window.
  3309.  
  3310.   ■ The T key toggles the reference point between visible (a small diamond,
  3311.     same color as text) and invisible. A "T" displayed in the lower right
  3312.     of the screen indicates that reference points are visible.
  3313.  
  3314.   Hint:  To make text characters that are to appear permanently on any IC
  3315.     masks, first make text of the appropriate size and then SMSH the text.
  3316.     Since any characters must have a width that will reproduce on the
  3317.     masks, you will first have to give the smashed poly some width with the
  3318.     CWTH command, and then modify the paths using the MOV, CUT, JOIN, etc.
  3319.     commands to make the characters look better.
  3320.  
  3321.   Read the Text Generation help category for more information.
  3322.  
  3323.  TLC-In
  3324.  TLC-Out
  3325.  
  3326.   TLC-IN and TLC-OUT are commands that call the TLCIN.EXE and TLCOUT.EXE
  3327.   programs which convert internal cell data TO and FROM transportable (TLC)
  3328.   format. "In" means convert TLC files FROM some source TO internal form in
  3329.   your present drawing. "Out" means convert FROM internal form in your
  3330.   present drawing TO some destination in TLC format.
  3331.  
  3332.   With either command, the default source or destination disk drive is the
  3333.   floppy drive that is in the "fdisk=" parameter in the FORM.DBD file. Any
  3334.   acceptable drive or path may be entered in place of that drive.
  3335.  
  3336.   If you want to refer to TLC files in the current drawing directory enter
  3337.   a period "." to the drive question.
  3338.  
  3339.   You may specify up to 10 cellnames separated by spaces.
  3340.  
  3341.   TLC-OUT without any cellname(s) dumps to the destination disk ALL drawing
  3342.   cells as TLC files along with the CELLS.REF file.
  3343.  
  3344.   TLC-IN without any cellname(s) retrieves ALL cells by reading the
  3345.   CELLS.REF file on the Source disk and translating TLC files into internal
  3346.   file form (BP4 & CL4 files).
  3347.  
  3348.   These commands have considerable power since you can also specify the
  3349.   name of any system disk device as the source or destination. You can also
  3350.   give a path as part the disk specification, so that cell files can be
  3351.   TAKEN FROM or SENT TO other directories other than your drawing
  3352.   directory.
  3353.  
  3354.   Unless you are familiar with the use of DOS paths and remember just where
  3355.   you put things, you can get into trouble this way by mixing up the cells
  3356.   in different drawings.
  3357.  
  3358.  
  3359.   Note:  These commands really only run TLCIN.EXE or TLCOUT.EXE as a child
  3360.   process from LASI. It is possible that you might run out of memory, and
  3361.   the program will return a "Not Available" or other error message. If this
  3362.   happens, you must run TLCIN.EXE or TLCOUT.EXE alone in memory. Read the
  3363.   TLC Conversion help category for instructions on running the TLC
  3364.   converters.
  3365.  tLyr
  3366.  
  3367.   TLYR sets the layer of text to be ADDed.
  3368.  
  3369.   ■ If the value entered is not 1 through 64, the layer will be reasked.
  3370.  
  3371.   Read LAYR and CLYR.
  3372.  
  3373.  tWth
  3374.  
  3375.   TWTH sets the width (size) of text to be ADDed.
  3376.  
  3377.   ■ If a pathwidth is entered that is unacceptable, then the prompt will be
  3378.     repeated with the value in the default parentheses.
  3379.  
  3380.   ■ The width will be snapped to multiples of 15 basic units, the allowed
  3381.     text sizes.
  3382.  
  3383.   Read WDTH and CWTH.
  3384.  
  3385.  Undo
  3386.  
  3387.   UNDO aborts the current Cell Mode cell.
  3388.  
  3389.   ■ This command will restore either the original cell that existed when
  3390.     the mode was entered or the cell as it was when the last SORT, DEL or
  3391.     SMSH command was done.
  3392.  
  3393.   ■ Answering anything other than "o", "s" or "d" to the "Restore ..."
  3394.     question cancels the UNDO command.
  3395.  
  3396.   Read the SORT, DEL and SMSH topics.
  3397.  
  3398.  View
  3399.  
  3400.   VIEW sets the layers that will be drawn on the display.
  3401.  
  3402.   ■ Boxes, paths and text that are not VIEWed are blocked from the GET,
  3403.     FGET, WMOV, QMOV, PBEG and PEND commands.
  3404.  
  3405.   ■ Any active boxes or vertices will be drawn as bright white line
  3406.     segments or as bright white vertex marks regardless of the VIEW
  3407.     setting. This allows you to see where any active object are located,
  3408.     which still will be affected by MOV, CPY, ROT, FLP or DEL commands.
  3409.  
  3410.   VIEW and OPEN accept layer inputs that can be single layers in any order,
  3411.   or a dash (-) can be used to indicate all inclusive layers between the
  3412.   end layers. A dash alone will give all layers from 1 to 64.
  3413.  
  3414.   Read OPEN.
  3415.  
  3416.  Wdth
  3417.  
  3418.   WDTH sets the width of paths to be ADDed.
  3419.  
  3420.   ■ The present range of acceptable widths is 2 to 1024 basic units.
  3421.  
  3422.   ■ If a pathwidth is entered that is unacceptable, then the prompt will be
  3423.     repeated with the value in the default parentheses.
  3424.  
  3425.   ■ A width of 0 is also acceptable. This produces paths of zero width or
  3426.     polygons (poly).
  3427.  
  3428.   A positive width causes the end of a path to be flush with its
  3429.   coordinate. A negative width produces a path whose end extends half the
  3430.   width beyond the coordinate. This is for CALMA compatibility. Use of
  3431.   negative widths is generally discouraged.
  3432.  
  3433.   Read CWTH.
  3434.  
  3435.  wGet
  3436.  
  3437.   WGET (window get) is a combination of GET and CGET.
  3438.  
  3439.   ■ Cells, boxes, paths and text are affected the same way as those
  3440.     commands.
  3441.  
  3442.   WGET is useful if you are MOVing large sections of a drawing because you
  3443.   can see just which object are active before the operation. WGET makes
  3444.   active single sides of boxes and single vertices of paths, which are then
  3445.   pulled with active cells when MOVing is done.
  3446.  
  3447.   Read AGET.
  3448.  
  3449.  wGrd
  3450.  
  3451.   WGRD steps through the list of working grids.
  3452.  
  3453.   ■ The working grids should have been entered using the SET command.
  3454.  
  3455.   ■ The present working grid will be shown at the bottom of the screen.
  3456.  
  3457.   Note:  WGRD when assigned to a function key accepts a numerical argument.
  3458.     For example, a parameter in the FORM.DBD file "fkey=wgrd,10" assigns a
  3459.     function key so that when the key is pressed the working grid is set to
  3460.     10 physical units. However, if "fkey=wgrd" is the parameter, you will
  3461.     be prompted for a working grid to be set.
  3462.  
  3463.   Read SET and the FORM File General topic.
  3464.  
  3465.  wMov
  3466.  
  3467.   WMOV (window move) moves boxes, paths and cells.
  3468.  
  3469.   ■ The sides of boxes or vertices of paths are moved if they are enclosed
  3470.     within the rectangular cursor window.
  3471.  
  3472.   ■ Cells are also moved, but only if the cursor window completely encloses
  3473.     the cell's area. The cell may be drawn fully or be in outline.
  3474.  
  3475.   ■ The first two coordinate points form the cursor window.
  3476.  
  3477.   ■ The next two coordinate points determine the distance to be moved.
  3478.  
  3479.   ■ A box side must be completely enclosed by the cursor window.
  3480.  
  3481.   ■ Box and path layers must be VIEWed and OPENed.
  3482.  
  3483.   ■ The move part of this command accepts a single PKE distance entry.
  3484.  
  3485.   WMOV is useful for stretching large sections of drawings orthogonally,
  3486.   for selectively doing box side movements and for quickly doing small
  3487.   vertex movements.
  3488.  
  3489.  Xpnd
  3490.  
  3491.   XPND expands the width of the drawing window.
  3492.  
  3493.   ■ The new window width is multiplied by 2.
  3494.  
  3495.   ■ The display is redrawn.
  3496.  
  3497.   Continuously XPNDing will eventually cause the window to expand to the
  3498.   maximum size permitted or the whole "universe".
  3499.  
  3500.   Read DRAW and the Universe General topic.
  3501.  
  3502.  Zoom
  3503.  
  3504.   ZOOM reduces the drawing window size.
  3505.  
  3506.   ■ The new drawing window will be the best fit of the rectangular cursor
  3507.     window.
  3508.  
  3509.   ■ The display is redrawn with the new drawing window.
  3510.  
  3511.   ■ ZOOM works over a 1000:1 range.
  3512.  
  3513.   Hint:  To ZOOM to a minimum window at a certain position, click the mouse
  3514.     on that same position twice. This will zoom to the default minimum
  3515.     window size centered at the cursor position.
  3516.  
  3517.   Read DRAW.
  3518.  
  3519. TLC Conversion
  3520.  
  3521.  Introduction
  3522.  
  3523.   TLC (Transportable LASI Cells) is a form of LASI cell data that is used
  3524.   for drawing cell data storage and interchange. TLC files are ASCII
  3525.   sequential files written in a well documented form. TLC files are easily
  3526.   readable by programming languages including BASIC and C. TLC is
  3527.   convenient for writing special programs to be used with LASI such as
  3528.   drawing transformation utilities or translators from other drawing
  3529.   systems. (CIF2TLC.EXE, TLC2CIF.EXE and CSF2TLC.EXE are examples.)
  3530.  
  3531.   Each TLC file contains the information needed to construct a single cell.
  3532.   The file contains information on the boxes, paths, text and cells in a
  3533.   cell. It does not contain information on how to make any cells that may
  3534.   be used within a cell. To build a complete drawing you need a COMPLETE
  3535.   set of TLC files.
  3536.  
  3537.   By way of definition, cell files in TLC are called EXTERNAL files, while
  3538.   cell files used by LASI directly (BP4 and CL4) are called INTERNAL files.
  3539.   TLC files have the extension .TLC in DOS. Internal files are designed for
  3540.   the computers convenience, while external files are designed for human
  3541.   convenience.
  3542.  
  3543.   The program TLCIN.EXE converts external TLC files to internal BP4 and CL4
  3544.   files. The program TLCOUT.EXE converts internal files to external TLC
  3545.   files.
  3546.  
  3547.   Using TLC is the ONLY WAY that cells can be installed in a LASI drawing
  3548.   from an external source. This is because the internal files use a pointer
  3549.   system of referring to a cell to save memory space. This pointer is the
  3550.   position in the CELLS4.DBD file of a cell's information, which cannot be
  3551.   changed without changing all cell references. The programs TLCIN.EXE and
  3552.   TLCOUT.EXE take referencing into account and adjust accordingly.
  3553.  
  3554.   Since each cell has its own TLC file, and a TLC file may not really
  3555.   contain all the information to construct a cell if it has lesser cells
  3556.   within it, the TLC files for the lesser cells will have to be present for
  3557.   conversion to internal form using TLCIN.EXE. When converting to external
  3558.   form, the TLCOUT.EXE converter program is smart enough to make the TLC
  3559.   files of any lesser cells automatically.
  3560.  
  3561.   When conversion from external to internal is being done, the lesser cells
  3562.   will also be made in internal form if they are not already present in the
  3563.   drawing cell collection. You may optionally also replace any cells that
  3564.   are already there with new ones.
  3565.  
  3566.  Conversion Errors
  3567.  
  3568.   It is possible that files may be missing, incorrect or there may not be
  3569.   enough memory when converting. TLCIN.EXE and TLCOUT.EXE will try to
  3570.   construct a drawing as best as possible by making a FALSE CELL. A false
  3571.   cell is a cell containing only the name of the cell enclosed in double
  3572.   angle brackets in text on layer 64. The rank of a false cell will always
  3573.   be 1, so that it will always appear in other cells. If a false cell is
  3574.   made, TLC will indicate the error, and continue as well as it can.
  3575.  
  3576.   Since it has rank 1, the false cell will contain no other cells. However,
  3577.   if the error is corrected, and TLCIN or TLCOUT is used to overwrite the
  3578.   false cell, normal cell nesting will be constructed. The false cell may
  3579.   be thought of as a token or placeholder for the missing cell where it is
  3580.   used in other cells. TLC will always try to replace the token cell with
  3581.   the actual cell in the drawing cell collection once the correct
  3582.   information is available to make the actual cell.
  3583.  
  3584.  Pooled Cells
  3585.  
  3586.   When converting internal files to TLC files, TLCOUT.EXE will look for an
  3587.   ATTACHED cell that may be used in a drawing in the POOL directory as
  3588.   listed in the FORM.DBD file. If it doesn't find it, it will produce a
  3589.   token TLC file consisting of the name of the cell in text. It will not
  3590.   look for an attached cell in the drawing directory.
  3591.  
  3592.   When converting from TLC form, TLCIN.EXE will put ALL cells in the
  3593.   DRAWING directory since it has no knowledge (nor should it) of any cells
  3594.   that may have come from a pool. Keep this in mind if you are converting
  3595.   into a drawing.
  3596.  
  3597.  Conversion Options
  3598.  
  3599.   The TLCOUT.EXE program has 2 Conversion Options:
  3600.  
  3601.   1. Convert ALL Cells to TLC:
  3602.      ALL Cells are converted from the source to the destination. This is
  3603.      the standard drawing dump to TLC form.
  3604.  
  3605.   2. Convert NAMED Cells to TLC:
  3606.      NAMED cells are converted to TLC from the source to the destination.
  3607.      Cells that are needed to construct a cell of greater rank are also
  3608.      converted as an option.
  3609.  
  3610.  
  3611.   The TLCIN.EXE program has 2 Conversion Options:
  3612.  
  3613.   1. Convert ALL Cells from TLC:
  3614.      This requires that the CELLS.REF file exist at the source. The names
  3615.      of all the cells at the source are simply read from the CELLS.REF file
  3616.      in that location and are converted as if they had been named
  3617.      individually in Option 2 below. If the CELLS.REF file is missing at
  3618.      the source then Option 2 only may be used.
  3619.  
  3620.   2. Convert NAMED Cells from TLC:
  3621.      NAMED cells are converted to internal files. The CELLS4.DBD file at
  3622.      the destination is augmented with the NAMED cell. If lesser cells are
  3623.      needed they are also converted from the source TLC into internal files
  3624.      at the destination. If the cells are not present at the destination
  3625.      they will be converted automatically. If the lesser cells are present
  3626.      at the destination you will have the option to replace them with new
  3627.      ones. Therefore, to fully reconstruct a cell from TLC, all lesser
  3628.      cells must be present either in the source or destination cell
  3629.      collections in TLC or internal form.
  3630.  
  3631.   When converting back from TLC form, the TLCIN program knows if a cell is
  3632.   in the destination by reading the CELLS4.DBD file. TLCIN will replace the
  3633.   named cell but will OPTIONALLY replace lesser cells, the cells within the
  3634.   named cell. If any cells do not exist in the drawing cell collection they
  3635.   will be made.
  3636.  
  3637.   If the CELLS4.DBD file is not present at the destination, then one will
  3638.   be created.
  3639.  
  3640.   To convert a complete layout drawing from TLC using TLCIN, you start with
  3641.   a blank directory, and name the main drawing cell to be converted, or use
  3642.   the CELLS.REF file as above. The TLCIN program then reconstructs the
  3643.   whole drawing by making all lesser cells first, and then the named main
  3644.   cell.
  3645.  
  3646.   In all options the CONSTS4.DBD file of the source or destination
  3647.   directory is left unaffected. If a drawing is reconstructed from TLC, you
  3648.   must load your favorite CONSTS4.DBD file, or let LASI provide a default
  3649.   one when it starts up.
  3650.  
  3651.  Running TLCIN.EXE or TLCOUT.EXE
  3652.  
  3653.   When running either TLC program you pass parameters as arguments on the
  3654.   DOS command line. Arguments are separated by one or more spaces.
  3655.  
  3656.   The FIRST is the SOURCE path, the disk name or "." for the current
  3657.   directory.
  3658.  
  3659.   The SECOND is the DESTINATION path, the disk name or "." for the current
  3660.   directory.
  3661.  
  3662.   The NEXT parameters are needed only if the NAMED cell option is used, and
  3663.   is a list of up to 10 cellnames to be converted.
  3664.  
  3665.   Hint:  Run the TLCIN or TLCOUT  without any arguments to get HELP.
  3666.  
  3667.   Important:  If you use POOLED cells and run TLCOUT, the FORM.DBD file
  3668.     must be present in the source directory. TLCOUT.EXE needs this
  3669.     information to find the cells.
  3670.  
  3671.  
  3672.   Things to remember when converting:
  3673.  
  3674.     The first TWO parameters MUST be present on the command line or you
  3675.     will get the help message.
  3676.  
  3677.     For either option 1 above, the file CELLS4.DBD or CELLS.REF must be in
  3678.     the source directory.
  3679.  
  3680.     If there are no NAME parameters, option 1 is assumed.
  3681.  
  3682.  The CELLS.REF File
  3683.  
  3684.   As TLC makes it, the CELLS.REF file is a copy of CELLS4.DBD.
  3685.  
  3686.   You may change the CELLS.REF file to convert modified lists of cells into
  3687.   Internal form.
  3688.  
  3689.   To remove a cell, delete the cell's name and the data line that follows
  3690.   it in the CELLS.REF file.
  3691.  
  3692.   To add a cell, insert the cell's name on a single line and then the
  3693.   cell's rank on the next line. You don't need any additional data on the
  3694.   second line.
  3695.  
  3696.   The entry on the first line of the CELLS.REF file is the number of cells
  3697.   in the file. If you add or delete cells, you should adjust this number.
  3698.   When TLC converts to Internal form using CELLS.REF, it counts either to
  3699.   the number of cells it reads on the first line or to the end of the file,
  3700.   whichever comes first.
  3701.  
  3702.   Do all this with a text editor that produces standard DOS text files.
  3703.  
  3704.  TLC Format
  3705.  
  3706.   Cell files in TLC have a record structure. There are presently five kinds
  3707.   of records: Header, Cell, Box, Path and Text.
  3708.  
  3709.   The records for the objects in the cell are preceded by an "equals code"
  3710.   consisting of two characters: the first being "=" and the second being
  3711.   "H", "C", "B", "P" an "T" for Header, Cell, Box, Path or Text
  3712.   respectively. The TLC program then looks for the type of object to be
  3713.   made and acts accordingly. If at some time in the future, other objects
  3714.   are added to LASI, similar code will be used.
  3715.  
  3716.   If a data error is encountered during translation, it is possible that
  3717.   one or two objects may be incorrectly reconstructed from TLC. The equals
  3718.   code will try to resynchronize the data and correct translation will then
  3719.   resume. The Header record contains an object count and this is compared
  3720.   to the actual number of objects made, and miscounts are indicated by the
  3721.   TLC program.
  3722.  
  3723.   All records, including the Header, may be written in any order in a TLC
  3724.   file.
  3725.  
  3726.  Records in Detail
  3727.  
  3728.   Header Record:      <nl>= carriage return + linefeed    <sp>= space
  3729.  
  3730.       1= =H<nl>
  3731.       2= Name of Cell (DOS file name)<nl>
  3732.       3= Version of LASI (literal)<nl>
  3733.       4= Version of TLC (literal)<nl>
  3734.       5= Basic Units per Physical Unit<nl>
  3735.       6= Name of Physical Unit (literal)<nl>
  3736.       7= Date of Cell Conversion (literal)<nl>
  3737.       8= Time of Cell Conversion (literal)<nl>
  3738.       9= Rank of Cell<sp>
  3739.       10= Left Outline Boundary in basic units<sp>
  3740.       11= Bottom Boundary in basic units<sp>
  3741.       12= Right Boundary in basic units<sp>
  3742.       13= Top Boundary in basic units<nl>
  3743.       14= Number of Boxes<sp>
  3744.       15= Number of Paths<sp>
  3745.       16= Number of Vertices<sp>
  3746.       17= Number of Cells<nl>
  3747.  
  3748.       Note:  Versions must begin with a numeric character
  3749.  
  3750.   Cell Record Entries:
  3751.  
  3752.       1= =C<nl>
  3753.       2= Name of Lesser Cell<nl>
  3754.       3= Orientation (see below)<sp>
  3755.       4= X Position in basic units<sp>
  3756.       5= Y Position in basic units<sp>
  3757.       6= reserved (presently zero)<nl>
  3758.  
  3759.       Property Number: (0-15)
  3760.         16 bit integer, all bits 0 except:
  3761.  
  3762.           Bit 4,
  3763.             0= draw cell fully
  3764.             1= draw cell outline
  3765.  
  3766.         Orientation:
  3767.           Bit 3,
  3768.             0= cell not flipped
  3769.             1= cell is flipped in X before rotation
  3770.  
  3771.           Bits 2 and 1,
  3772.             0,0 = no rotation
  3773.             0,1 = 90 deg rotation CCW
  3774.             1,0 = 180 deg rotation CCW
  3775.             1,1 = 270 deg rotation CCW
  3776.  
  3777.   Box Record Entries:
  3778.  
  3779.       1= =B<nl>
  3780.       2= Layer of Box<sp>
  3781.       3= X of Lower Left Corner in basic units<sp>
  3782.       4= Y of Lower Left Corner in basic units<sp>
  3783.       5= X of Upper Right Corner in basic units<sp>
  3784.       6= Y of Upper Right Corner in basic units<nl>
  3785.  
  3786.   Path/Poly Record Entries:
  3787.  
  3788.       1= =P<nl>
  3789.       2= Layer of Path/Poly<sp>
  3790.       3= Width in basic units<sp>
  3791.       4= No. of Vertices in path/poly<nl>
  3792.       5= Vertices in basic units in the form:
  3793.       X1<sp>Y1<sp>X2<sp>Y2<sp>X3<sp>Y3<sp>X4<sp>Y4<sp>X5<sp>Y5<nl>
  3794.       .......Xn-1<sp>Yn-1<sp>Xn<sp>Yn<nl>
  3795.  
  3796.       (Groups of 5 coordinates separated by <sp> ended by <nl>,
  3797.       always with <nl> after Last Coordinate Pair)
  3798.  
  3799.   Text Record Entries:
  3800.  
  3801.       1= =T<nl>
  3802.       2= Layer of Text<sp>
  3803.       3= Size in basic units<sp>
  3804.       4= No. of Vertices used by text (includes Ref Point)<sp>
  3805.       5= Orientation 0-7 (same as cells)<nl>
  3806.       6= X Ref Point in basic units<sp>
  3807.       7= Y Ref Point in basic units<nl>
  3808.       8= ASCII character text string<nl> (u/l case, up to 32 characters)
  3809.  
  3810. CSF Conversion
  3811.  
  3812.  Introduction
  3813.  
  3814.   LASI drawings are not very useful if they cannot be transformed into the
  3815.   more commonly used CAD system formats. The most common is GDSII CALMA
  3816.   Stream Format. Although CALMA drawing systems for ICs have become
  3817.   somewhat obsolete, the data format survives, and newer CAD systems such
  3818.   as CADENCE or MENTOR can usually convert it. LASI can be converted to
  3819.   CALMA Stream Format (CSF) exactly, and from CSF with some limitations.
  3820.  
  3821.   LASI has a drawing structure that is very similar to the CALMA drawing
  3822.   system, with the exception that LASI has box objects and is more limited
  3823.   in its data capacity and cell nesting depth. In LASI, cells are similar
  3824.   to CALMA structures, except that a definite rank is given to a cell. In
  3825.   LASI there are no CALMA boundary figures, instead there are zero width
  3826.   paths called poly. LASI drawings transform easily into CALMA because a
  3827.   box can be made into a boundary, a poly can become a boundary also, a
  3828.   path can transform directly into a path, and cells can easily become
  3829.   structures, partly due to their ranked orderly nesting.
  3830.  
  3831.   Since LASI drawings are more or less a subset of CALMA, conversion to
  3832.   CALMA is easy. More difficult is conversion from CALMA to LASI because
  3833.   there are things in CALMA (like arrays) that don't exist in LASI (yet).
  3834.   Conversion is possible in most cases if certain restrictions are used in
  3835.   the original CALMA drawing (such as limiting the structure nesting or
  3836.   using only small arrays).
  3837.  
  3838.  Conversion Programs
  3839.  
  3840.   The LASI2CSF.EXE program converts a LASI drawing into a binary file which
  3841.   is in CALMA Stream Format (CSF). This format is used as the standard for
  3842.   preserving and interchanging CALMA drawings. The file generated by
  3843.   LASI2CSF.EXE may be sent directly to a CALMA, may be put onto magtape if
  3844.   sent to some larger computer that has magtape capability, or may be put
  3845.   on a floppy disk (in DOS format) for reading by work stations with that
  3846.   capability.
  3847.  
  3848.   The CSF2TLC.EXE program will read back a CSF file and will construct a
  3849.   LASI drawing in TLC form as best as possible. A drawing first done on
  3850.   LASI will reconstruct exactly if returned from a CALMA without having
  3851.   been modified in some non-compatible way. Drawings made originally on
  3852.   CALMA may occasionally convert differently, since LASI presently doesn't
  3853.   have such things as datatypes, texttypes, arrays or layer 0.
  3854.  
  3855.   CSF2TLC produces TLC files for good reason. There can be essentially an
  3856.   infinite number of TLC files, so that a CSF file with almost any number
  3857.   of structures can be converted to TLC files. The TLC files can then be
  3858.   selectively converted into LASI drawings if necessary due to any LASI
  3859.   object allocation limitations.
  3860.  
  3861.   Note that CALMA Stream Files used by LASI2CSF.EXE and CSF2TLC.EXE have
  3862.   the extension ".CSF". This is a convention that not always standard. You
  3863.   may have to rename you file extensions.
  3864.  
  3865.  Running LASI2CSF.EXE
  3866.  
  3867.   1. LASI2CSF.EXE must be present in the \LASI4 directory with a "PATH"
  3868.      opened to it by execution of the DOS PATH command. You MUST run the
  3869.      program with the current DOS directory the directory of the drawing to
  3870.      be converted.
  3871.  
  3872.   2. LASI2CSF will ask for the CALMA drawing name. This is the name that
  3873.      the drawing would have on the CALMA. This may be defaulted by just
  3874.      pressing ENTER.
  3875.  
  3876.   3. LASI2CSF reads the CELLS4.DBD file, the CONSTS4.DBD file and the
  3877.      FORM.DBD file in the current directory. CONSTS4.DBD sets the scales
  3878.      that appear in the starting dialog as default values. The FORM.DBD
  3879.      file tells LASI2CSF where to find any "pooled" cells.
  3880.  
  3881.   4. LASI2CSF asks for the "Disk\Path\Name" of the CSF file. The extension
  3882.      ".CSF" will be added, so don't include it in the name of the CSF file.
  3883.      If a name is unacceptable, it will be reasked until an acceptable one
  3884.      is given.
  3885.  
  3886.   5. If you have previously run LASI2CSF, there will be a setup file in the
  3887.      drawing directory named LASI2CSF.SET. If this is found, you will be
  3888.      asked if you want to use the information. This can save time if you do
  3889.      conversions often on a drawing. If you choose to use the default setup
  3890.      data, steps 6-10 below will be skipped.
  3891.  
  3892.   6. LASI2CSF will then ask for scale information. When converting to CALMA
  3893.      you must know what physical units you used and how many LASI units per
  3894.      physical unit you used in the LASI drawing. You must tell LASI2CSF how
  3895.      many CALMA units you want per physical unit. You may default to 1000
  3896.      basic units/micron and produce an exact 56-bit floating point
  3897.      representation in the CSF file. This seems to be necessary for CADENCE
  3898.      conversion, and perhaps other CAD systems.
  3899.  
  3900.   Important: If you have a problem with exact representation report it to
  3901.     the author.
  3902.  
  3903.   7. Since LASI has layers 1-64 but CALMA has layers 0-63, you will be
  3904.      asked if you want to relocate LASI layer 64 to any CALMA layer. You
  3905.      can then relocate that layer back to LASI layer 64 if you convert back
  3906.      from CALMA.
  3907.  
  3908.   8. CALMA uses several parameters to construct text. The most important
  3909.      are Texttype and Font, which may be used to identify the text. You can
  3910.      relate these to each of four LASI text sizes. The parameters that LASI
  3911.      can set are in order:
  3912.  
  3913.       ■ Texttype, which can be 0-63.
  3914.  
  3915.       ■ Font, which can be 0-3.
  3916.  
  3917.       ■ Magnification, which can be used to change text size if the other
  3918.         parameters produce text of the same size.
  3919.  
  3920.       ■ Text Width, which is usually 0, but may have to be set so that
  3921.         certain CAD systems will accept the text.
  3922.  
  3923.       ■ Vertical Justification, which may be set to top, center and bottom.
  3924.         LASI text is always left-bottom justified so normally you will set
  3925.         this to bottom or "B".
  3926.  
  3927.   9. Certain CAD systems use filenames in lowercase. You can have the names
  3928.      of cells or structures converted to lowercase in the CSF file.
  3929.  
  3930.   10. If the LASI drawing contains an open polygon, it may be an
  3931.      intentional zero width path, or it may be a mistake where a polygon
  3932.      has not been closed. You can optionally close any open polygons or you
  3933.      can have them translated as a path with zero width.
  3934.  
  3935.   11. When converting to CALMA, you will be given the choice of converting
  3936.      only certain cells to CALMA structures. This is useful when you have
  3937.      most of your structures already in the CALMA. If you chose to select
  3938.      certain cells to be converted, you will be given a choice of also
  3939.      converting the lesser cells that are used in the specified cells. A
  3940.      list will be displayed during conversion that will show just what
  3941.      cells are being converted to the CSF file.
  3942.  
  3943.  Running CSF2TLC.EXE
  3944.  
  3945.   1. When converting from CALMA to LASI path and filename questions similar
  3946.      to those when running LASI2CSF.EXE will be asked.
  3947.  
  3948.   2. If you have previously run CSF2TLC, there will be a setup file in the
  3949.      drawing directory named CSF2TLC.SET. If this is found, you will be
  3950.      asked if you want to use the information. This can save time if you do
  3951.      conversions often on a drawing. If you choose to use the default setup
  3952.      data, steps 3-8 below will be skipped.
  3953.  
  3954.   3. When converting from CALMA the physical units will automatically be
  3955.      microns, but you may specify the LASI basic units.
  3956.  
  3957.   4. You will be asked if you want to use the "2048"VAX filter. If the
  3958.      binary file has been run through a VAX on magtape, it might contain
  3959.      two extra characters at beginning of a VAX file record. You can tell
  3960.      CSF2TLC to drop two characters every 2048 characters. If errors occur
  3961.      try this option.
  3962.  
  3963.   5. You will then be asked for the layers and the datatypes to be
  3964.      converted. You respond to this question with the notation similar to
  3965.      the VIEW, OPEN, etc. commands in LASI, with numbers separated by
  3966.      spaces or dashes.  A space separates individual layers and a dash
  3967.      means "include all layers between".
  3968.  
  3969.   6. You will be given the option of converting CALMA 4-sided rectangular
  3970.      boundaries to LASI boxes. If the rectangular boundaries are not to be
  3971.      modified, boxes are better for LASI.
  3972.  
  3973.   7. There is an option to convert any text found in the stream file to
  3974.      LASI text. The Texttype number (0-63) or the Font number (0-3) in a
  3975.      CALMA text record may be related to a LASI text size. A texttype is
  3976.      always present in a CALMA text record, but font may also be used by
  3977.      other CAD systems. If a texttype of 0-63 is related to a LASI text
  3978.      size, it will be used first, regardless of the font set. If you want
  3979.      to use font, enter "-" as the texttype to use. If neither texttype nor
  3980.      font is designated, a default minimum set of parameters will be used.
  3981.  
  3982.     Additionally you may use some of the other CALMA text parameters by
  3983.     setting them to "y" or "n":
  3984.  
  3985.       ■ If magnification information is present, it may be used.
  3986.  
  3987.       ■ If orientation (+/-90, 180 deg) is present, it may be used.
  3988.  
  3989.       ■ If vertical justification information is present, it may be used.
  3990.  
  3991.     Any multiple line CALMA text will be broken into separate LASI text
  3992.     lines, and any horizontal justification will be changed to left
  3993.     justification.
  3994.  
  3995.     The text that you get may not look exactly the same as the original
  3996.     text since LASI uses its own character patterns.
  3997.  
  3998.   8. You will be asked if you want to relocate CALMA layer 0 to any LASI
  3999.      layer (1-64). Any CALMA layer 0 will default to LASI layer 64.
  4000.  
  4001.  
  4002.   9. Like LASI2CSF, CSF2TLC request options on just which cells or
  4003.      structures you want to be converted. You may name specific cells or
  4004.      structures to be converted if a few are wanted. If the named
  4005.      structures contain other structures that have not been named, CSF2TLC
  4006.      will find these and try to convert them also. You may therefore name
  4007.      only your top structure and CSF2TLC will find the rest.
  4008.  
  4009.   10. LASI cellnames must be legal names for DOS files. The names of the
  4010.      CALMA structures may not conform to DOS standards and must be changed.
  4011.      CSF2TLC will try to find acceptable names, but you may also manually
  4012.      change any illegal names.
  4013.  
  4014.   11. You will be asked if you want CSF2TLC to replace any TLC files that
  4015.      it finds already in the directory. Otherwise, CSF2TLC will keep any
  4016.      old TLC files that it finds and will only create the new ones that it
  4017.      needs.
  4018.  
  4019.   In most questions, the default entry will appear in the parentheses if
  4020.   one is available. Pressing ENTER defaults.
  4021.  
  4022.  CSF2TLC Operations
  4023.  
  4024.   CSF2TLC first scans the CSF file to determine a hierarchy of cells. It
  4025.   also tries to convert CALMA structure names to names that are DOS
  4026.   acceptable. If a name is found that is a reserved word such as "PRN", or
  4027.   the name contains characters that are illegal in DOS such as "*", you
  4028.   will be asked for a substitute name. If you have told CSF2TLC not to try
  4029.   to rename, any names with greater than 8 characters will call for a
  4030.   substitute also.
  4031.  
  4032.   CSF2TLC will search the current directory for the TLC cell file of a cell
  4033.   that might not exist as a structure in the CSF file, but still be used in
  4034.   other structures in the CSF file. This allows the TLC file of a cell to
  4035.   be reconstructed without the lesser cells being present as structures in
  4036.   the CSF file. The only requirement is that the TLC files of its lesser
  4037.   cells exist already in the drawing directory.
  4038.  
  4039.   After the scanning has been done to establish hierarchy and the presence
  4040.   of TLC files, a list of the cellnames, their rank, the presence of the
  4041.   structure in the CSF file, the presence of a TLC file in the directory
  4042.   and the structure name is printed.
  4043.  
  4044.   If the TLC file is already present it is retained even though the
  4045.   structure may exist in the CSF file. To have a new TLC file generated,
  4046.   the old TLC file must be deleted from the current directory, or the
  4047.   option of replacing all TLC files must be used when running CSF2TLC.
  4048.  
  4049.   If the lesser cell exist neither as a structure in the CSF file nor as a
  4050.   TLC file in the drawing directory, then the name of the expected cell is
  4051.   inserted into the TLC file being made and a warning message is given.
  4052.  
  4053.  Possible Problems
  4054.  
  4055.   On conversion from CALMA to LASI, if any structures are missing and a TLC
  4056.   file is not present, there is no way to tell if the missing structures or
  4057.   TLC files contain other missing structures or cells.
  4058.  
  4059.   Presently, arrays of objects do not exist in LASI. Therefore, when
  4060.   converting from CALMA, CSF2TLC makes arrays by copying cells. This can
  4061.   fill the LASI cell capacity if you don't watch out.
  4062.  
  4063.   When CSF2TLC encounters text in a CSF file, it ignores justification and
  4064.   breaks down any multi-line CALMA text into single line LASI text objects.
  4065.   This means that your translated text may not be located in the same
  4066.   place. You should also use only single line left justified text on the
  4067.   CALMA or other drawing system if you intend to bring it into LASI.
  4068.  
  4069.   Some features of CALMA are presently simply ignored, such as stretched
  4070.   components, and nodes.
  4071.  
  4072.   If you abort while CSF2TLC is making a TLC file you will probably get an
  4073.   incomplete file. Erase it.
  4074.  
  4075. HPGL Conversion
  4076.  
  4077.  Introduction
  4078.  
  4079.   LASI drawings can be quit large and complex. It is necessary to produce
  4080.   large plots to examine drawings for errors, or just for display. LASI
  4081.   therefore must be able to produce plots. The most commonly used plotting
  4082.   language is Hewlett-Packard's HPGL (Hewlett-Packard Graphics Language),
  4083.   which is used by all H-P and many other makes of plotters. By using the
  4084.   LASI2PGL.EXE program, LASI drawings can be converted directly into HPGL,
  4085.   either as a file, or as a direct drive for a plotter from one of the
  4086.   personal computer's serial ports.
  4087.  
  4088.  Configuration Files
  4089.  
  4090.   Before you run LASI2PGL on anything you must make a configuration data
  4091.   file. Run LASI2PGL.EXE and answer "y" to the Configure (y or n) prompt.
  4092.  
  4093.   The program stores plotting configurations in ".PCF" files. The title of
  4094.   a configuration must conform to DOS file naming rules. These files remain
  4095.   in the drawing directory.
  4096.  
  4097.   Some of the questions asked will be defaulted from the program
  4098.   initialization or the previous configuration file. Pressing ENTER to any
  4099.   question will default to the value show in parentheses. Otherwise enter
  4100.   the new value.
  4101.  
  4102.   Some of the questions will be obvious and some may need explanation:
  4103.  
  4104.   1. Configuration will ask if your plotter has a center or lower-left
  4105.      (bottom-left) hardware origin. Most small plotters have a lower-left
  4106.      origin, while larger plotters use a center origin. Read your plotter
  4107.      manual for this information.
  4108.  
  4109.   2. The borders that you must specify are the distance at the edges of a
  4110.      sheet of paper that the plotter can't use, i.e. roller track, etc.
  4111.      Read your plotter manual for this distance. The size of your paper
  4112.      less these borders is the useful size of your paper.
  4113.  
  4114.   3. You can set the location and size of the plotting area on the paper by
  4115.      specifying the left, bottom, right and top edges. You can use this to
  4116.      make multiple drawings on a single sheet of paper.
  4117.  
  4118.   4. If you use hardwired handshaking to keep the plotter buffer from being
  4119.      overflowed by plotting data, you will be asked if you want to use the
  4120.      DSR (data set ready) line or the CTS (clear to send) line to detect
  4121.      that the plotter buffer is full. On an AT type of PC these lines are
  4122.      pins 6 and 8 respectively on a 9-pin serial port. The Hewlett-Packard
  4123.      plotters normally indicate a full buffer by dropping the DTR (pin 20
  4124.      on the 25-pin RS-232 connector) line. This line can be connected to
  4125.      either CTS or DSR, but DSR is preferred.
  4126.  
  4127.   5. LASI2PGL will ask you if you want to use your plotter's polygon mode
  4128.      commands. These are the commands PM, EP and FP which are available on
  4129.      the better plotters (see your plotter manual). These commands allow
  4130.      you to fill closed polygon areas. If this mode is used paths will be
  4131.      expanded into a closed polygon area.
  4132.  
  4133.   6. If you want to have paths standout in the drawing, answer that you
  4134.      want path center lines drawn. Paths will be drawn with a dashed line
  4135.      along their center.
  4136.  
  4137.   7. LASI2PGL will draw any cells that are displayed in LASI Cell Mode as
  4138.      an outline either in outline or in full detail. The configuration may
  4139.      set to always draw fully if desired. You may also set the pen to be
  4140.      used for outlines.
  4141.  
  4142.   8. Each layer has three attributes, Pen, Line and Fill. You may assign
  4143.      attributes randomly, by giving a layer number 1 to 64 to the "Layer?"
  4144.      question. Pressing ENTER only will end the assignment process. Note
  4145.      also that the layer number is displayed in the color you used in the
  4146.      drawing.
  4147.  
  4148.   9. When assigning pens to layers note that you may enter up to 8
  4149.      different pens. Your plotter might not support that many, so assign
  4150.      them accordingly.
  4151.  
  4152.   10. You may assign different line types to make dashed lines. The types
  4153.      are numbered 0-6 and correspond to the line types described in the H-P
  4154.      plotter manual that comes with an H-P plotter. If a line is to be
  4155.      drawn solid, set the layer by pressing only ENTER.  A dash "-" will
  4156.      indicate a solid line on that layer.
  4157.  
  4158.   11. You may set the fill type attribute to be used on a layer. These
  4159.      presently are left crosshatch, right crosshatch, horizontal, vertical
  4160.      and nothing (indicated by "L","R","H","V" and "-"). Boxes will always
  4161.      be filled, but you must use the plotter's polygon mode to fill polygon
  4162.      areas.
  4163.  
  4164.   12. If a layer has had its Fill set as above, and a line type has also
  4165.      been set, the line type is used as the fill line type. The perimeter
  4166.      of a filled area is drawn solid and not with the line type set for
  4167.      that layer. The spacing of the dashes and fill lines will be
  4168.      calculated from the fill spacing configuration parameter.
  4169.  
  4170.   13. After you are satisfied with the configuration, you may store it with
  4171.      the same title or any other title. You can save time by copying
  4172.      configurations, make changes, and then storing under a new title.
  4173.  
  4174.  Running LASI2PGL.EXE
  4175.  
  4176.   LASI2PGL.EXE reads BP4 and CL4 internal files in the local drawing
  4177.   directory.
  4178.  
  4179.   You must be logged into the drawing directory of the cell to be plotted.
  4180.  
  4181.   To drive a plotter directly, the plotter must be connected to one of the
  4182.   computer's serial ports, COM1, COM2, COM3 or COM4.
  4183.  
  4184.  
  4185.   There are 3 ways to run LASI2PGL:
  4186.  
  4187.   1. Run by typing "lasi2hp", which allows you to configure and then run a
  4188.      plot, or to simply make configuration files.
  4189.  
  4190.   2. Run by typing "lasi2hp cellname", where "cellname" is the cell that
  4191.      you want to plot. In this case configuration must be done previously,
  4192.      and the plot will be fitted to the full size of the cell.
  4193.  
  4194.   3. Run by typing "lasi2hp cellname x-center y-center width", where "x-
  4195.      center" and "y-center" are the coordinates of where you want the plot
  4196.      to be centered, and "width" is the horizontal width of the plot window
  4197.      (all in physical units). This is how LASI passes the drawing window to
  4198.      be plotted when the PLOT button is pushed in the LASI System Mode
  4199.      menu.
  4200.  
  4201.   In each case you will be asked for the configuration title and whether
  4202.   your plotter or disk is ready.
  4203.  
  4204.   When making a plotting file you may specify a name, path or disk for the
  4205.   output file. Entering nothing makes a file with the plotted cell's name
  4206.   in the local drawing directory.
  4207.  
  4208.   Hint:  If LASI2PGL asks for a new scale. You might want to give a scale
  4209.     slightly smaller than the maximum scale indicated. This may eliminate
  4210.     some part of a drawing being cut off due to aspect ratio differences
  4211.     between your paper and the area to be drawn.
  4212.  
  4213.  Other Uses
  4214.  
  4215.   Since the plot file that LASI2PGL makes is in standard HPGL language. The
  4216.   file can be changed to other formats using a converter such as HIJAAK. It
  4217.   can also be converted directly by WordPerfect 5.1 and other desktop
  4218.   publishers into drawings that can be inserted into WordPerfect (or other
  4219.   DTP) written text. Drawings made by LASI can therefore be placed directly
  4220.   into reports, theses, dissertations, etc. that are written using common
  4221.   wordprocessors that can do graphics converted from HPGL.
  4222.  
  4223.   The HPGL can be converted into LaserJet format to print high quality
  4224.   diagrams. Also, conversion to FAX format is possible so that you can send
  4225.   high quality fax diagrams using any of the available fax boards.
  4226.  
  4227. Text Generation
  4228.  
  4229.  Introduction
  4230.  
  4231.   Text is generated by LASI version 4 by storing strings of ASCII
  4232.   characters as though they were paths. A reference point is stored as the
  4233.   first vertex, and then subsequent vertices contain up to 4 ASCII
  4234.   character bytes. When a string of text is drawn, it is expanded much like
  4235.   a path, except that the characters are drawn in sequence from predefined
  4236.   polygon patterns. A string of text can be thought of as a single path
  4237.   segment, where the character field height is equal to the path width and
  4238.   the length is determined by the number of characters.
  4239.  
  4240.   Each character is defined in the Text Font File. (TXT.DBD is the generic
  4241.   file supplied with the system.) This file may have any name other that
  4242.   TXT.DBD, but this name must be installed the FORM.DBD file using the
  4243.   "text=" parameter. Otherwise the default "TXT.DBD" is assumed. Read the
  4244.   FORM File General topic.
  4245.  
  4246.   The Text Font File is a binary file which contains a single record of 128
  4247.   bytes for each of 96 characters. The characters may be drawn and modified
  4248.   by the user using LASI itself. The information in this file is loaded
  4249.   into memory when LASI is started, so that drawing of text can be done
  4250.   without slow disk access.
  4251.  
  4252.   When entering text, the position is requested and the width and layer are
  4253.   taken from the current text width (TWTH) and text layer (TLYR) settings.
  4254.   The text string is then simply typed in and terminated by ENTER. Like
  4255.   paths, text layer, size, orientation and position can be changed using
  4256.   the same commands that are used for paths.
  4257.  
  4258.  The Text Font File
  4259.  
  4260.   The Text Font File is ninety-six 128 byte records long. Each record
  4261.   corresponds to an ASCII character starting at decimal 32 (space) and
  4262.   ending at decimal 127 (delete, non-printing). When a character is typed
  4263.   under LASI, the correct record is found and the information is used to
  4264.   make path objects in the drawing. The records are randomly written by the
  4265.   MAKETXT.EXE program by typing the desired character and then giving the
  4266.   name of the cell which contains the character drawing.
  4267.  
  4268.   The vertices of the path pattern are written in a single byte of a record
  4269.   in the form of the X-coordinate as the upper 4 bits and the Y-coordinate
  4270.   as the lower 4 bits (nibbles). The coordinates may then be only the
  4271.   numbers 0-15. The coordinate combination (15,15) is however prohibited
  4272.   because it is used to indicate the end of a path.
  4273.  
  4274.   A record therefore contains vertex coordinate bytes from 0-254, with 255
  4275.   decimal (or FF in Hex) bytes marking the end of a path. The remaining
  4276.   bytes in a record are always filled with FF bytes to prevent further
  4277.   paths being made as the record is read.
  4278.  
  4279.   The maximum number of vertices that a record can hold is dependent on the
  4280.   number of independent paths, but can be determined from:
  4281.  
  4282.               total no. vertices = 128 - total no. paths
  4283.  
  4284.  
  4285.   There can be any character drawing in the pattern file corresponding to a
  4286.   given typed character. In fact, different Text Font Files (with different
  4287.   names) can be kept for different uses, and they can be conveniently
  4288.   "turned on" by naming them in the FORM File.
  4289.  
  4290.  The Character Field
  4291.  
  4292.   Characters start as little cells containing a drawing of a character. The
  4293.   data format of the character drawing is quite different from a cell and
  4294.   will be describe later. A character is drawn as a rank 1 cell using paths
  4295.   (of 0 width) on a 16x16 (0-15) field of basic drawing units. The lower
  4296.   left corner of the field is position 0,0. The vertices of the paths fall
  4297.   on the basic unit grid points. The vertices may be on any grid point
  4298.   except 15,15.
  4299.  
  4300.  
  4301.                                               15
  4302.                 . . . . . . . . . . . . . . . x 15  (15,15 not used)
  4303.                 . . . . . . . . . . . . . . . .
  4304.                 . . . . . . . . . . . . . . . .
  4305.                 . . . . . . . . . . . . . . . .
  4306.                 . . . . . . . . . . . . . . . .
  4307.                 . . . . . . . . _ . . . . . . .
  4308.                 . . . . . . . / . \ . . . . . .
  4309.                 . . . . . . / . . . \ . . . . .
  4310.                 . . . . . / . . . . . \ . . . .
  4311.                 . . . . / . . . . . . . \ . . .
  4312.                 . . . / . . . . . . . . . \ . .  ^
  4313.                 . . . | _ _ _ _ _ _ _ _ _ | . .  |
  4314.                 . . . | . . . . . . . . . | . .  Y
  4315.                 . . . | . . . . . . . . . | . .
  4316.                 . . . . . . . . . . . . . . . .
  4317.      (origin) 0 . . . . . . . . . . . . . . . .
  4318.                 0
  4319.                             X -->
  4320.  
  4321.         Character Drawing Field in basic units (Letter A Shown)
  4322.  
  4323.  
  4324.   Once a character cell is drawn, the program MAKETXT.EXE is used to
  4325.   install the character in the Text Font File.
  4326.  
  4327.  Usefulness of Text
  4328.  
  4329.   Text is usually used to mark your drawings with information such as the
  4330.   names of cells or component names and values. Text will be translated
  4331.   with the other drawing data into text in other drawing systems. Text may
  4332.   also be used as a pattern for putting writing on IC masks by smashing the
  4333.   text using the SMSH command and giving the resulting polygons some width.
  4334.  
  4335.   Text objects have a very useful property. Text can be considered as a
  4336.   NODE with a NAME. You can therefore use text to mark connection points to
  4337.   cells or subassemblies. You can then search for those points by NAME and
  4338.   obtain a physical location on a drawing. This can be used to do automatic
  4339.   cell placement and interconnection. This means that you can do schematic
  4340.   capture, or do actual layout from wiring lists used by programs like
  4341.   PSpice.
  4342.  
  4343.   Inversely, you can also write programs that locate NODES by position in
  4344.   LASI layouts or schematic drawings and associate TEXT with the NODE. You
  4345.   can therefore produce wiring lists for PSpice directly from drawings that
  4346.   contain node names and device names written ON the drawing.
  4347.  
  4348.   Since the internal form of LASI data is generally proprietary, you would
  4349.   write programs in C or BASIC that operate on TLC files.
  4350.  
  4351. System Contents
  4352.  
  4353.  LASI System Files
  4354.  
  4355.   LASI.EXE        LASI boot program
  4356.   LASI87.EXE      Main drawing program for coprocessor
  4357.   LASIA.EXE       Main drawing program without coprocessor
  4358.   LASI2CSF.EXE    LASI to CALMA Stream converter
  4359.   LASIDRC.EXE     The LASI Layer Logic design rule checker
  4360.   CSF2TLC.EXE     CALMA Stream to TLC converter
  4361.   LHI.EXE         LASI help and information reader
  4362.   LASI2PGL.EXE    Hewlett-Packard plotter utility
  4363.   MAKETXT.EXE     Text Font File maker
  4364.   MANUAL.EXE      Manual printer
  4365.   TLCIN.EXE       Transportable cell file "in" converter
  4366.   TLCOUT.EXE      Transprorable cell file "out" converter
  4367.  
  4368.   CELLSORT.EXE    Cell sorting utility
  4369.   CMDLAYER.EXE    Drawing global layer copy/move/delete utility
  4370.   RESIZE.EXE      Resizing utility
  4371.   SNAP.EXE        Cell grid snapping utility
  4372.   TILT.EXE        Drawing tilting 3-D presentation utility
  4373.   UNDUP.EXE       Drawing duplicate object remover utility
  4374.  
  4375.   TLC2CIF.EXE     LASI TLC format to CIF format converter
  4376.   CIF2TLC.EXE     CIF format to LASI TLC format converter
  4377.  
  4378.   3TO4.COM        LASI vers 3 to vers 4 converter
  4379.   40TO41.COM      LASI 4.0 to 4.1 CONSTS file converter
  4380.   41TO42.COM      LASI 4.1 to 4.2 CONSTS file converter
  4381.   DMHCPY.COM      Screen hardcopy for dot matrix FX or LQ type printers
  4382.   LJHCPY.COM      Screen hardcopy for LaserJet type printers
  4383.  
  4384.   FORM.DBD        Generic configuration file
  4385.   TXT.DBD         Generic Text Font File
  4386.  
  4387.   LHI.HLP         LASI help and information text file
  4388.   LASIDRC.HLP     LASI Layer Logic help text file
  4389.  
  4390.   INSTALL.EXE     Install program for self-extracting ZIP LASI42.EXE
  4391.   DEMO.EXE        Self-extracting ZIP layout demonstration file
  4392.   README.TXT      Instructions for ZIP file installation
  4393.   DEMO.CHK        Sample check file for LASIDRC program
  4394.   LASIDSS.TXT     Internal file data structure standard
  4395.  
  4396.   Optional:       (May be included or available on request)
  4397.   CHARS.EXE       Self-extracting text character cell collection
  4398.  
  4399. System Log
  4400.  
  4401.  System Update Log for Version 4
  4402.  
  4403.   Changes in Version 4.0:
  4404.  
  4405.   The LASI drawing programs have been completely rewritten in a combination
  4406.   of C and Assembly Language. Many new features have been added:
  4407.  
  4408.   1. Text objects, which retain the ASCII character identity and which use
  4409.      much less memory than the previous text that was generated from poly
  4410.      objects. The new text is treated as a modified poly object and may be
  4411.      rotated and reflected using the same commands. Since it keeps its
  4412.      ASCII identity, the new text may be translated as true text into other
  4413.      drawing systems.
  4414.  
  4415.   2. New internal data format, which uses less memory and loads faster. A
  4416.      conversion program 3TO4.COM is supplied to change the old format into
  4417.      the new format.
  4418.  
  4419.   3. VGA 640x480 pixel display mode support, with automatic VGA sensing,
  4420.      but an optional EGA 640x350 display mode.
  4421.  
  4422.   4. User definable function keys that allow any command formerly needing
  4423.      mouse or keyboard input to be executed by simply pressing a function
  4424.      button. (40 keys, F1-10, SHIFT F1-10, CTRL F1-10, ALT F1-10)
  4425.  
  4426.   5. An oversize command OVSZ that replaces the BPEXP.EXE program
  4427.      previously supplied, that allows boxes, poly and paths to be expanded
  4428.      or compressed by a constant distance.
  4429.  
  4430.   6. Different dashed line patterns that are assigned as an attribute to
  4431.      each drawing layer.
  4432.  
  4433.   7. A drawing cell collection that can now hold 500 different cells in
  4434.      place of 255 as with previous versions.
  4435.  
  4436.   8. New hardcopy programs that work with VGA or EGA automatically.
  4437.  
  4438.   9. A WGRD command that when assigned to a function key accepts working
  4439.      grid size arguments.
  4440.  
  4441.   10. A CMOV command that moves cells only.
  4442.  
  4443.   11. Improved RES and CAP commands with automatic measuring.
  4444.  
  4445.   12. Different text fonts may now be included in the FORM File.
  4446.  
  4447.   13. The cursor can now be toggled between a small cross and crosshairs.
  4448.  
  4449.   14. LASI.EXE now works only with a coprocessor. Another version LASIA.EXE
  4450.      is supplied for non-coprocessor computers.
  4451.  
  4452.   15. TLC.EXE now generates token files for missing or incorrect cells.
  4453.  
  4454.   16. outlined cells now have their name in the lower left corner
  4455.  
  4456.   17. OUTL and FULL commands now work directly, not only on active cells,
  4457.      and these commands are now resident commands.
  4458.  
  4459.   18. A cells history feature has been added that allows you to retrace a
  4460.      series of nested cells.
  4461.  
  4462.   19. The JOIN command now closes open polygons.
  4463.  
  4464.   20. The working and unit cursor grids can be toggled by pressing the A
  4465.      key or the ALT key.
  4466.  
  4467.   21. The effect of the cursor window on certain cell commands can be
  4468.      changed by double clicking the mouse.
  4469.  
  4470.   22. The CALMA conversion programs LASI2CSF.EXE and CSF2TLC.EXE now have
  4471.      more elaborate text conversion facilities.
  4472.  
  4473.   23. The SMSH command now works on text and boxes.
  4474.  
  4475.   24. The CALMA Stream converter now allows open polygons to be converted
  4476.      optionally to closed boundaries or zero width paths.
  4477.  
  4478.  
  4479.   Changes in Version 4.1:
  4480.  
  4481.   1. Rank 1 cells can now be taken from a common "pool" directory and be
  4482.      used in any drawing. Using this feature several PCs can be NETWORKED
  4483.      together with common access to basic cells.
  4484.  
  4485.   2. The ATTACH and IMPORT commands have been added to be used with cells
  4486.      from the "pool".
  4487.  
  4488.   3. Missing cell files (BP4 and CL4) now cause a dotted outline to be
  4489.      drawn.
  4490.  
  4491.   4. VESA compatible VGA 800x600 16 color graphics mode is now supported.
  4492.  
  4493.   5. A monochrome gray scale mode has been added for VGA monochrome
  4494.      monitors and laptop computers with VGA displays.
  4495.  
  4496.   6. There are now 64 layers (1-64) available.
  4497.  
  4498.   7. The design rule checking program LASIDRC.EXE is now included.
  4499.  
  4500.   8. The help program LHI.EXE can now do searches for individual topics.
  4501.  
  4502.   9. The mouse now uses direct movement information so that the cursor
  4503.      should work properly in all display modes regardless of the mouse
  4504.      driver you use.
  4505.  
  4506.   10. Most commands now abort if ESC is pressed.
  4507.  
  4508.   11. A sort and backup of a drawing is done after a certain amount of time
  4509.      if LASI is left unattended.
  4510.  
  4511.   12. A backup of a cell drawing is made if any deleting or smashing is
  4512.      done.
  4513.  
  4514.   13. The OCTO command nolonger cancels any command in progress.
  4515.  
  4516.   14. Help on a command may now called directly by putting the mouse cursor
  4517.      on a command button and pressing F1.
  4518.  
  4519.   15. The program MANUAL.EXE has been added that prints a manual.
  4520.  
  4521.   16. The T key now toggles the text reference point on and off.
  4522.  
  4523.   17. The CPYLAYER.EXE, MOVLAYER.EXE and DELLAYER.EXE utility programs have
  4524.      been condensed into a single CMDLAYER.EXE utility program.
  4525.  
  4526.   18. There are now indicators on the display for the N,C and T toggle
  4527.      keys.
  4528.  
  4529.   19. The TILT.EXE utility program now replaces paths with a polygon
  4530.      boundary so that it can correctly tilt the image.
  4531.  
  4532.   20. The LASIDRC.EXE program has had its inter-layer and coverage tests
  4533.      enhanced so that they can check for intersections and incomplete
  4534.      coverage.
  4535.  
  4536.   21. The two versions of the drawing program (now called LASI87.EXE and
  4537.      LASIA.EXE) are now run through the boot program LASI.EXE which
  4538.      determines if a coprocessor is present.
  4539.  
  4540.   22. All line printer outputs from any utility prograns are now always
  4541.      directed to LPT1 and produce CR-LF character sequences for new lines.
  4542.  
  4543.   23. The number of active paths is now listed on the display.
  4544.  
  4545.   24. The "vmode=" parameter in the FORM.DBD file now accepts multiple
  4546.      arguments for more versatile display configurations.
  4547.  
  4548.   Changes in Version 4.2
  4549.  
  4550.   1. All object data memory is controlled by a "object manager" which is
  4551.      used by LASI itself and many of the utility programs.
  4552.  
  4553.   2. The parameters in the FORM file to allocate memory for objects are no
  4554.      longer needed.
  4555.  
  4556.   3. The connection between the number of cells and the rank depth has been
  4557.      eliminated.
  4558.  
  4559.   4. Certain cell editing commands now operate on cells by NAME.
  4560.  
  4561.   5. The TLC.EXE program has been replace by two new programs TLCIN.EXE and
  4562.      TLCOUT.EXE which work faster and are object managed.
  4563.  
  4564.   6. The design rule checker LASIDRC.EXE has been replaced by a new version
  4565.      that that is a generalized programmable version of the old design rule
  4566.      checker.
  4567.  
  4568.   7. The ABRT command is now called UNDO.
  4569.  
  4570.   8. The TLYR and TWTH commands have been added to set text and path layers
  4571.      and widths independently.
  4572.  
  4573.   9. The CTRL-END key combination now saves all files and causes an exit to
  4574.      DOS from Cell or System Modes.
  4575.  
  4576.   10. Typed inputs now have a field box that limits the number of
  4577.      characters that can be entered.
  4578.  
  4579. Suggestion Box
  4580.  
  4581.  Suggestions from Users of LASI
  4582.  
  4583.   Unlike commercial software, that may be designed by committee, LASI
  4584.   receives feedback from its users. Since LASI is rather democratic (within
  4585.   limits), people are encouraged to contribute ideas of their own, or, even
  4586.   better, to write programs for themselves that do useful things. Contact
  4587.   the author with your ideas or requests.
  4588.  
  4589.   These are some of the ideas for LASI improvements or for special programs
  4590.   that operate in the LASI drawing environment, listed somewhat in order of
  4591.   priority. Some are fairly ambitious. These changes and new programs are
  4592.   more or less in progress. Expect to see these in future releases of LASI.
  4593.  
  4594.  
  4595.   1. Schematic/Layout Network Generation - a utility program that takes
  4596.      schematics or layouts drawn using LASI and produces a circuit network
  4597.      definition list for PSpice, HSpice or other Spice circuit analysis
  4598.      programs. This should have good use in determining if there are any
  4599.      errors in a layout, since the derived Spice model will not function
  4600.      correctly. This may also have a good use in education, because it will
  4601.      allow "heuristic processing" of ICs without the mask and processing
  4602.      costs. This is not a "schematic capture" but a true "layout capture".
  4603.      It however should produce similar net lists from layout or schematic.
  4604.  
  4605.   2. Arrays of Cells - In many situations such as MOS power devices or
  4606.      imaging arrays, a large number of repetitions of a cell may be used.
  4607.      This would be better handled by using an extended cell object which
  4608.      consists of a 2-dimensional array of a single cell.
  4609.  
  4610.   3. Use of XMS or EMS Memory - the memory management in LASI 4.2 can be
  4611.      modified to swap blocks of data to extended (XMS) or expanded (EMS)
  4612.      memory to increase its data capacity. Experience tends to indicate
  4613.      that large amounts of "flat" data are not really necessary, since a
  4614.      hierarchical drawing structure is a more efficient way to handle large
  4615.      numbers of objects. Using EMS or XMS can cause certain complications
  4616.      like "lost" memory areas if correct procedures are not followed, and
  4617.      slower drawing operations. EMS or XMS will be added only if there is a
  4618.      strong need for it.
  4619.  
  4620.   4. A 32-bit LASI - another version of the LASI drawing program that uses
  4621.      32-bit position information instead of 16-bit. This would give almost
  4622.      unlimited precision, but would cause more memory usage and slightly
  4623.      slower operation. The additional memory required for the object
  4624.      position data may make EMS or XMS necessary. A better way may be to
  4625.      develop the next major version of LASI, running in protected mode
  4626.      under OS/2 or Windows NT, if one or both of these operating systems
  4627.      become popular and enough people have the hardware to run them.
  4628.  
  4629.   5. Automatic Placement and Interconnect - a utility program that takes
  4630.      connection information from lists used by simulation programs (Spice)
  4631.      and uses the node property of LASI text to place and interconnect
  4632.      cells. This will probably only work well on standardized ICs such as
  4633.      ASICs and some simpler analog and digital circuits. The program would
  4634.      however produce a starting point from which "human layout techniques"
  4635.      would be used to complete an IC.
  4636.  
  4637.